error with new user

  • 1
  • Problem
  • Updated 4 months ago
  • Solved
I am receiving an error for a new user.

"1. A Skuid Model, 'page', requested a Field with relationship name 'skuid__Last_Modified_Date_Check__c', on the skuid__Page__c Object, but Skuid could not find a valid Field accessible through this relationship name. Please check that this Field actually exists on this Object (or on any related Objects). If it exists, then ensure that the user has permission to access it. If it does not exist, remove it from this Model."

Why?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 4 months ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
What page are you viewing?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
A custom skuid page
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Can you just remove the 'skuid__Last_Modified_Date_Check__c' field from the model?
Photo of Josh Merritt

Josh Merritt

  • 918 Points 500 badge 2x thumb
Bill,

I believe I ran into this same error a while back and it was originating from one of my custom javascript snippets. I can't recall any more details than that, though.

Hope this helps,
Josh
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,050 Points 10k badge 2x thumb
This error message may indicate that the user is trying to view the Skuid page in the Page Composer, but they don't have the Skuid Page Builder permission set. If that's not the case, then my more general feedback is that the page in question is trying to query the Skuid Page object, but this user does not have access to the field mentioned (which would be granted again via the Skuid Page Builder permission set). I wouldn't expect a normal page to throw this error for users who are just trying to view the Skuid page, so if my recommendations are off, let me know. If you can also let us know which version of Skuid you're working in, that will help too.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb
That is the case as we were accessing the page from the composer. In previw the error does not show.
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,050 Points 10k badge 2x thumb
Hi Bill. In that case, the user will see that error if they try to edit a Skuid page without having the Skuid Page Builder permission set, so if you'd like them to be able to edit the page, go ahead and assign them that permission set. Let me know if this doesn't resolve your issue!