How to get the node id of an item in a custom field?
In a custom field (IUsercontrolDataEditor) how do I get the id of the node that's being edited? I want to save a media item for the item but I don't know what its id is.
Do you have some code you're working on already? If so would you mind sharing it? Also what version of Umbraco are you using? (There's a new API in v6...so :)).
How to get the node id of an item in a custom field?
In a custom field (IUsercontrolDataEditor) how do I get the id of the node that's being edited? I want to save a media item for the item but I don't know what its id is.
Hi Ian
Do you have some code you're working on already? If so would you mind sharing it? Also what version of Umbraco are you using? (There's a new API in v6...so :)).
/Jan
I'm using 4 something not 6.
I found the answer to this here... http://our.umbraco.org/forum/developers/api-questions/3740-Custom-datatype-usercontrol-wrapper---getting-node-ID
is working on a reply...