I'm hoping someone can help me out with this, as I have spent several hours searching the wiki, forums, existing webscripts, etc, and haven't come up with an answer.
I am developing a custom button for the document library toolbar to upload a particular document type. The idea is that clicking this button will either pop up a dialog with a custom form or take the user to a custom page with a custom form. The requirement is that the metadata for this document is filled out when the user uploads it. Also, if there are particular values set, there is a requirement that other documents be uploaded as well.
One of the properties for the custom document type has a List of Values constraint, which has the allowed values defined in the constraint definition. Is there anyway to access these allowed values via the javascript api? Is there a repository webscript I could hit that would send these values back? How does the share property form access these allowed values.
Any help is appreciated.
Thanks,
-Roger