Macro Expression - Dropdown empty when not logged in

Brian Brown asked on February 4, 2022 17:21

I have a dropdown with a Macro Expression, if I'm logged into Admin the dropdown displays properly on the form. If I got Incognito or my phone the dropdown is empty. I resigned all Macros. Any ideas where to look?

Correct Answer

vasu yerramsetti answered on February 7, 2022 16:29

Please add the following on your web.config under "appSettings"

<add key="CMSCheckPermissionsForDocumentCollection" value="false"/>

1 votesVote for this answer Unmark Correct answer

Recent Answers


vasu yerramsetti answered on February 5, 2022 13:58 (last edited on February 5, 2022 13:59)

Please share the following details -

  • Are you using bizform or page type?
  • What is the macro expression like Is it custom or default Kentico Macro?
  • How you will access your form like Is it from within CMS or Website?
  • What is the error logged in event log while access form?
  • What is the Kentico version with hotfix?
0 votesVote for this answer Mark as a Correct answer

Brian Brown answered on February 7, 2022 15:27

  • It's a form.
  • Example of the Macro - Documents["/Routes-Schedules"].Children.ClassNames("RideMCTS.RouteDetail").DisplayNames#
  • Website
  • No errors in the event log
  • Version 10.0

For clarification, I said "if I'm logged into Admin the dropdown displays properly on the form", the form being the form on the website.

Thanks, hopefully this is enough info to help figure out where the issue is.

0 votesVote for this answer Mark as a Correct answer

Chad Donnick answered on February 7, 2022 16:41

That worked!! Thank you!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.