Dependent Picklist validFor field

Asked by Ray C Horn

How are the bits for the validFor field packed ?

I am having some difficulty in transposing code others have written in other languages to the values I am seeing from pyax and I need to know if the validFor field comes directly from SalesForce without translation of if there is a translation process required before I can use the bit array from the validFor field.

Thanks for your assistance.

Question information

Language:
English Edit question
Status:
Solved
For:
pyax Edit question
Assignee:
No assignee Edit question
Solved by:
Ray C Horn
Solved:
Last query:
Last reply:
Revision history for this message
Kevin Shuk (surf) said :
#1

I'm doing no special manipulation of the vaidFor member of a PicklistEntry. It's most likely treated as a string, which, in theory could be dealt with using the techniques here (http://wiki.python.org/moin/BitManipulation), but I've never dealt directly with this metadata attribute.

Revision history for this message
Ray C Horn (mrpython94596) said :
#2

Thanks for the info.