I'm building out DOM structure on a Staging DMS, and on one of the forms I'm using ElementFieldDescriptor. I've hit a snag as the ViewID I am filtering on for my Staging DMS doesn't match the corresponding ViewID on my Production DMS, which results in my form not being able to select the correct Elements on the Production DMS.
Apart from not filtering the ViewID list, does anyone have any suggestions as to how I can achieve the correct filtering on the form. Would manually changing the view IDs (in the views.xml) on Staging and Production so that they align be an option? And if so, are there any restrictions on the ViewID numbers, apart from having to be unique?
Hi Dave,
If possible I will try to find a way to filter based on view name rather than view ID. While modifying the Views.xml file is technically possible, it’s prone to errors. Unfortunately, as far as I know, it is not possible to create a view with a specific ID.
Hope it helps.