Skuid page not showing picklist according to the Record type

  • 2
  • Question
  • Updated 3 years ago
  • Answered
Hi,
The picklist values on the skuid mobile page is showing all the values and not filtering according to the Record type. API is enabled for the users, is there anything else to be done for it to work? Thanks.

-Sravanthi.
Photo of Sravanthi Bommagowni

Posted 3 years ago

  • 2
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Make sure that the RecordTypeId field is included in the Model.
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
Thanks Zach. Its work for me once i added RecordTypeId field in my model and now picklist values are showing according to record type.
Photo of Mansour

Mansour

  • 1,932 Points 1k badge 2x thumb
Try using the RecordType.Name instead of Record type.  RecordTypeID can be found by accessing the record type page in setup and looking at the URL (see pic)
Hi,

RecordTypeId is included in the model, I tried both with the condition of RecordTypeId='Member' and also RecordTypeId=18 digit id. Both did not work. Is there anything else to be checked? Thanks.

-Sravanthi.
Photo of Mansour

Mansour

  • 1,932 Points 1k badge 2x thumb
Did you try RecordType.Name?


Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Try adding the RecordTypeId field to the Skuid Mobile page --- is it getting set to the correct Record Type? 

What version of Skuid are you using?
Yes, it is getting the correct Record Type Id (Member) on to the Skuid page. 
Photo of Yina Chun

Yina Chun

  • 792 Points 500 badge 2x thumb
Hi Zach! The Skuid version we are using is 7.17. We have tried using the RecordTypeId field, both 15 and 18 digits. What else are we missing?
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Are you getting any errors in the JavaScript Console? What object are you trying to show values from, e.g. Case, Asset, custom object? There is a known issue with getting picklist dependency information from some standard objects such as Asset that we are working to resolve in the next Banzai update (Update 6).
I am trying to show values from the Contact object. I don't see errors in the javascript console. 
Thanks for the screen shots. I tried RecordType.Name='Member', it did not work though. 
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
In the past I've found the only way to get this to work is to use RecoprdTypeId as the condition field but reference the 18 digit id. You can get this by pasting the 15 digit id (see Mansour's post) into this tool: https://www.adminbooster.com/tool/15to18

Generate the 18 digit id and then use that in your condition. 
The 18 digit id also did not help. 
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
Have you tried using a different browser? For record types the picklist values can cache into the browser so that changes are not reflected. Perhaps try on another computer?
Photo of David Bellew

David Bellew

  • 70 Points
I have a similar issue in that i have recently renamed some picklist values

These values appeared on the Skuid page before i changed the name but after i changed the name they no longer appear on the Skuid page even though they are accessible via the record type

Is there any assistance on this
Photo of Emily Davis

Emily Davis, Employee

  • 3,502 Points 3k badge 2x thumb
Hi, David,
Have you tried closing and re-opening your browser and loading the page again? Since Skuid caches picklist metadata, you might need to re-open the browser to get the updated values in you Skuid page. There's some more discussion about it in this post:
https://community.skuidify.com/skuid/topics/picklist-values-arent-updating?topic-reply-list%5Bsettin...

Emily
Photo of David Bellew

David Bellew

  • 70 Points
Emily

I have changed browsers, deleted cache, tried to add new pick list values, add Record Type fields to the Model, Change the Model conditions

I just cannot get new values to appear in my picklist
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Actually Emily and David - you need to make a change to your skuid page (any change, no matter how trivial) and then save it.  This will cause the metadata cache to be refreshed which should retrieve the correct picklist values.