Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When you create a property editor and need to insert some items, you use something like:
But that invites you to hardcode the id in your property editor, which is, of course, a stupid idea, since every time you deploy content the nodes are getting new id's.
Is there a common sense alternative to startNodeId?
Unfortunately there is no alternative for this. You just need to set the id's hard coded and changes them if that's required. Maybe it's possible to set them in a configuration file. Here is an example for the media picker start node id in a config file: http://issues.umbraco.org/issue/U4-5704#comment=67-16941
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted