Problems calling the guideStoreContentSubmission.submissionForStoreContentUsingServiceUser(userSession,guideStartParameter,path); | Community
Skip to main content
jorgefdez205
Level 2
March 15, 2016
Solved

Problems calling the guideStoreContentSubmission.submissionForStoreContentUsingServiceUser(userSession,guideStartParameter,path);

  • March 15, 2016
  • 3 replies
  • 2656 views

Hi

I was following this Post:

https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html

 

and I encountered a problem in this code section (from the example)

String storeContent = "/libs/fd/af/components/guidesubmittype/store";
FormsHelper.runAction(storeContent, "post", resource,slingRequest, slingResponse);

 

The problem is during the call of this function (inside of the post.jsp script of /libs/fd/af/components/guidesubmittype/store)

guideStoreContentSubmission.submissionForStoreContentUsingServiceUser()

on top of that I didn't find any information or documentation of this function....

the error is the following

com.adobe.aemds.guide.service.GuideStoreContentSubmission Failed to create path or set permissions.

and the stack trace is attached....

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ifconfig

Store content due to obvious security reason is not allowed to anonymous user.  You must be trying to  submit to store content anonymously. 

3 replies

smacdonald2008
Level 10
March 15, 2016

What are you trying to do when you encounter this. Please provide detailed steps so community can attempt to reproduce in order to help you. 

jorgefdez205
Level 2
March 15, 2016

Hi

I was following this Post:

https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html

 

and I encotered this problem in this code section (from the example)

String storeContent = "/libs/fd/af/components/guidesubmittype/store";
        FormsHelper.runAction(storeContent, "post", resource,slingRequest, slingResponse);

Thanks

ifconfigAdobe EmployeeAccepted solution
Adobe Employee
March 18, 2016

Store content due to obvious security reason is not allowed to anonymous user.  You must be trying to  submit to store content anonymously.