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

jorgefdez205 15-03-2016

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....

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (3)

Answers (3)

mandeepg6805152
Employee
18-03-2016

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

jorgefdez205 15-03-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

smacdonald2008 15-03-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.