I have created a custom widget using ext js and using that I am saving some properties in a node in jcr.but it saves it as jcr:primaryType sling folder however I want to change that jcr:primaryType to my custom node type.i tried writing like " jcr:primaryType" :"customNodeType" or "nodeType":"custom...
Solution is given in the link below.http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__t7a8-im_using_curlinwin.html
Seems to be permission issue.hope the below link helps.https://docs.adobe.com/docs/en/aem/6-1/administer/security/user-group-ac-admin.html#Resolving Request and Access Rights
You can also use VLT tool to directly export/checkout the OOTB component in your workspacevlt --credentials admin:admin co http://localhost:4502/crx/server/jcr%3aroot/<PATH OF COMPONENT> <PATH OF ECLIPSE WORKSPACE>