How do I add a control to the backoffice document page
I am creating a "Media Playlist" document type that has child multiple "Media Elements". I want to add a button to generate embed an embed code for the playlist. I would like to add it just below the "Link to Document" on the properties tab of the document. My users will use this button to generate a code that they can paste into a outside system to view the playlist.
Can anyone suggest where I should look for ideas on how to add a user control to a tab in the back off for a document node?
You can achieve this by creating a custom datatype. Even though you won't actually need to store any data in it, it will allow you to add a control or usercontrol on a tab.
Here's a couple articles from Tim's blog that explain:
How do I add a control to the backoffice document page
I am creating a "Media Playlist" document type that has child multiple "Media Elements". I want to add a button to generate embed an embed code for the playlist. I would like to add it just below the "Link to Document" on the properties tab of the document. My users will use this button to generate a code that they can paste into a outside system to view the playlist.
Can anyone suggest where I should look for ideas on how to add a user control to a tab in the back off for a document node?
Thank you,
Justin
Hi Justin,
You can achieve this by creating a custom datatype. Even though you won't actually need to store any data in it, it will allow you to add a control or usercontrol on a tab.
Here's a couple articles from Tim's blog that explain:
http://www.nibble.be/?p=97
http://www.nibble.be/?p=24
There's also an episode on umbraco.tv on Creating a custom datatype with the usercontrol wrapper
Hope this helps,
Tom
is working on a reply...