Skip to main content


 

Symptoms


On a form set to anonymous access two issues occurred:

1) On an autogenerated form that has been set to 'Anonymous Access' from and appified list whenever the 'Add Attatchment Subview' is called it appears blank.

2) Anonymous Access form submission redirecting to O365 login
 

Diagnoses


1) Subviews do not inherit the parent form's 'Anonymous Access' property.

2) The OOB 'K2 for SharePoint Message' form that autogenerated forms like to redirect to is not set to 'Anonymous Access' which causes the browser to navigate to a login page.


 

Resolution

A brief rundown of the workarounds in the ticket but for a more thorough explanation please consult this community article:

http://community.k2.com/t5/K2-Appit/On-Anonymous-Access/ta-p/74759

With subiews all the controls we want to render need to be served up on the form or one of its views directly as the subview does not inherit and will not inherit 'Anonymous Access' from its parent form.

For the issue of redirecting to an O365 login page we need a form that displays "Form has been successfully submitted" to the end user. Since the rule that comes on the autogenerated form is pointing at a form that cannot be edited we have to make a copy of that for, set it to anonymous access and then point the rule of our autogenerated form to our new "Form has been submitted successfully" form.




 
Be the first to reply!

Reply