Skuid pages not recognizing page param id in Customer Community
URLs in our Customer Community don't change for page overrides. For example, instead of /SitePrefix/apex/AccountDetailPage?id=001xxxxxxxxxx users just see /SitePrefix/001xxxxxxxxxxx
I think because of this, in some cases we cannot reference the id page parameter. It works (mostly) for the first and primary object. But when other objects have conditions that rely on that object, we've had to change the condition to reference a field from another model instead of page parameter id. Also, we cannot use $Param.id in merge syntax anywhere, instead we must use the $Model.ModelName.data.0.Id for merging.
I noticed something about lightning having trouble loading page parameter id, but our customer community is set to the Visualforce+Tabs template, so that shouldn't be it.
I think because of this, in some cases we cannot reference the id page parameter. It works (mostly) for the first and primary object. But when other objects have conditions that rely on that object, we've had to change the condition to reference a field from another model instead of page parameter id. Also, we cannot use $Param.id in merge syntax anywhere, instead we must use the $Model.ModelName.data.0.Id for merging.
I noticed something about lightning having trouble loading page parameter id, but our customer community is set to the Visualforce+Tabs template, so that shouldn't be it.
1
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
I am curious as to how the first model gets loaded when there isn't an &id in the url. I prefer the url like it is, because I don't want my community members seeing the "apex/pagename" stuff. Sometimes my pages aren't named something I want customer facing.