How do I link to additional Skuid pages from a community homepage

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
I have a salesforce community using a skuid page as the homepage. When I try to navigate to another skuid page it works for me (moderator) but asks the community member to log into our sales org. How do I correctly create additional pages, and link to them? I've tried creating a visual force page but didn't really understand how I was supposed to link it up.

I think the issue is my page is within our Salesforce instance (EU5) rather than the community page (gdsgroup.force.com) but I just can't figure out how I create the community page and link to skuid.
Photo of Laura Burnett

Laura Burnett

  • 588 Points 500 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Laura Burnett

Laura Burnett

  • 588 Points 500 badge 2x thumb
Ok, I finally figured it out. I added the pages as visual force pages, then added those pages into the force.com site. Finally I added those pages to the community profile. After I did all that I could get the pages to redirect using the following link style:

[community_URL]apex/[visual_force_page_name]


Now I just need to figure out how to make a URL parameter work in this format, as currently it's producing an error.
Photo of Karl Li

Karl Li, Employee

  • 708 Points 500 badge 2x thumb
Hi Laura--What kind of URLs are you using right now? Have you checked out our Merge Syntax, particularly the $Param?

http://help.skuid.com/m/11720/l/187263-global-merge-variables-functions
Photo of Laura Burnett

Laura Burnett

  • 588 Points 500 badge 2x thumb
Hi Karl,

Thanks for your reply. I don't actually understand any of that... sorry! Here is the post where I detailed the specific issue: 

https://community.skuid.com/skuid/topics/url-parameter-wont-work-in-visual-force-page

The actual URL is breaking when I add &ID=xxxxxxx

This works, but shows no content:
https://gdsgroup.force.com/EPik/apex/EPik_Meeting_Detail


This breaks:
https://gdsgroup.force.com/EPik/apex/ui?page=EPik_Meeting_Detail&Id=a1i24000001hYoaAAE
as does
https://gdsgroup.force.com/EPik/apex/EPik_Meeting_Detail&Id=a1i24000001hYoaAAE


Yet it works in Skuid:



I'm guessing there must be a way to tell the visualforce page that the &ID= part of the URL means something... I'm just not sure how? 

Thanks,

Laura
Photo of Laura Burnett

Laura Burnett

  • 588 Points 500 badge 2x thumb
Also, I've tried non capitals too (e.g. id)
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
you should be able to navigate to any skuid page with this redirect url:

/apex/skuid__ui?page=NAMEOFPAGE
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
and you can append as many url params as you want, including &id=XXXXX
Photo of Laura Burnett

Laura Burnett

  • 588 Points 500 badge 2x thumb
Hurraayy! It works. I knew it had to be simple. Thank you :D