2009/3/19 Juan José Vázquez Delgado
>
> > We want to use these reserved properties (jcr:created, jcr:createdBy, etc.)
> > because they are autocompleted by the SlingPostServlet and we are always to
> > create content using the SlingPostServlet.
> >
> > How can initalize the jcr:created with a long
> We want to use these reserved properties (jcr:created, jcr:createdBy, etc.)
> because they are autocompleted by the SlingPostServlet and we are always to
> create content using the SlingPostServlet.
>
> How can initalize the jcr:created with a long in a json?
I don´t know why but "jcr:created" i
We want to use these reserved properties (jcr:created, jcr:createdBy, etc.)
because they are autocompleted by the SlingPostServlet and we are always to
create content using the SlingPostServlet.
How can initalize the jcr:created with a long in a json?
thank you.
El 17 de marzo de 2009 12:19, J
Hi Daniel,
> The property isn't there
>
> ** Resource dumped by StreamRendererServlet**
> Resource path:/content/mycontent
> Resource metadata: {sling.resolutionPathInfo=,
> sling.resolutionPath=/content/mycontent}
>
> ** Resource properties **
> title: My content title
> size:
> sling:resourceTyp
El 16 de marzo de 2009 20:17, Juan José Vázquez Delgado <
juanjo.vazq...@gmail.com> escribió:
> > For example, thorugh the browser:
> > http.//localhost:/content/mycontent/jcr:created
>
> What do you get when try this?:
>
> http.//localhost:/content/mycontent.txt
The property isn't there
> For example, thorugh the browser:
> http.//localhost:/content/mycontent/jcr:created
What do you get when try this?:
http.//localhost:/content/mycontent.txt
In the other hand, have you any error in Sling log?
BR,
Juanjo.
El 16 de marzo de 2009 19:07, Juan José Vázquez Delgado <
juanjo.vazq...@gmail.com> escribió:
> Hi Daniel,
>
> > Hi,
> >
> > I am loading custom initial-content in the repository using a json file
> >
> > This is my json:
> >
> > {
> > "jcr:primaryType" : "nt:unstructured",
> > "sling:resource
Hi Daniel,
> Hi,
>
> I am loading custom initial-content in the repository using a json file
>
> This is my json:
>
> {
> "jcr:primaryType" : "nt:unstructured",
> "sling:resourceType" : "mycompany/content",
> "jcr:created" : "",
> "jcr:createdBy" : "",
> "jcr:lastModified" : "",
> "jcr:las
Hi,
I am loading custom initial-content in the repository using a json file
This is my json:
{
"jcr:primaryType" : "nt:unstructured",
"sling:resourceType" : "mycompany/content",
"jcr:created" : "",
"jcr:createdBy" : "",
"jcr:lastModified" : "",
"jcr:lastModifiedBy" : ""
}
It is st