So when I've chosen 2 properties on an item (e.g. a textstring and a content picker) I need to find the content picker type, so I can change the nodeid.
Maybe try outputting the raw saved value to a textarea and see if that tells you anything about the properties. Failing that, you could also try fetching the prevalue for the data type and see what is in there (I would imagine that would hold what you need, you might just have to map it to the returned value ids).
Not much in the way of code examples, but should point you in the right direction.
How to found the datatype of a property item programmatically?
I need to found out the datatypes of each property item programmatically.
In the XML it will not be displayed...only a propertyid...
So when I've chosen 2 properties on an item (e.g. a textstring and a content picker) I need to find the content picker type, so I can change the nodeid.
Hopefully someone has an answer.
Thanks,
Sander
Hi Sander,
Maybe try outputting the raw saved value to a textarea and see if that tells you anything about the properties. Failing that, you could also try fetching the prevalue for the data type and see what is in there (I would imagine that would hold what you need, you might just have to map it to the returned value ids).
Not much in the way of code examples, but should point you in the right direction.
Cheers
Matt
is working on a reply...