We have been using Skuid with Salesforce Communities for a year or so now, quite successfully. We are now deploying two new Salesforce Communities, and are now encountering an odd, inconsistent behavior (though thankfully it is 100% reproducable).
If you go navigate to one of the two new communities directly from Salesforce (using the menu on the upper left), you get a VisualForce error. But if you first go to our original community, and then navigate to the new communities, it works perfectly.
I’ll try to describe this both in text/images as well as a video of the problem hoping that somebody can help figure this one out!
I’m logged in as a Salesforce Administrator … and since the pages do work when accessed in the correct order, I’m doubtful this is a permissions problem but with Salesforce you never know for sure…! But as you will see, the fact that it always works for one community and is inconsistent for the others makes me wonder if this is still a permissions/community configuration problem, but for the life of me I can’t find the difference between them!
So here goes … if I first navigate to my original community (Unidesk Customer Success), as in…
I get that page perfectly (this always works)…
If I then use that same menu and navigate to my new Learning Community, this works perfectly as well (showing that the page loads, works and has valid permissions):
If I then return to the Internal site, I get a hint of a problem in that I don’t return to the Skuid Pages page, but instead get an error (and there is no skuid variable defined) and I’m on the Home tab instead of Page (likely a side effect of the error).
If I then click on Pages, it loads just fine … but do note that the URL is the same page but a different domain:
Now if I go directly to the new Learning community, I get the error:
If I repeat the above - go to Internal, click Pages, go to Success community and then to Learning, it all works fine.
Also of potential interest is that even when I’m getting the VF error, if I navigate to the tab directly (not via the community), it always works fine. Again, the only difference of significance appears to be the domain name:
Below is a video showing this all live, which might help put it all into context:
I also enabled the SFDC Debugger on this user, and here is the debug log for the error. Note that while there is an odd error code in the summary (“Salesforce System Error: 472535200-1330485 (-921938118) (-921938118)”) there is no indication of an error in the actual log itself.
I’ve gone ahead and granted access to Skuidify to our instance if that is helpful.
Thanks in advance for any advice or guidance!
- Chris