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

Avatar

Avatar

jorgefdez205

Avatar

jorgefdez205

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

mandeepg6805152

Employee

Avatar

mandeepg6805152

Employee

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. 

Answers (2)

Answers (2)

Avatar

Avatar

jorgefdez205

Avatar

jorgefdez205

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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

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