How can I add a tab to view Tridion contacts?

SDL Tridion 2011 SP1

I am trying to add a bookmark to a ContactView page in Tridion using the GUI extension. I managed to add the extension to ComponentView using:

<ext:tabpages> <ext:add> <ext:extension assignid="ContactWishlist" name="Wishlist Info" insertbefore="InfoTab"> <ext:control>/WebUI/Editors/ContactWishlist/ContactWishlist.ascx</ext:control> <ext:pagetype>ContactWishlist.WishlistInfo</ext:pagetype> <ext:dependencies> <cfg:dependency>ContactWishlist.WishlistInfo</cfg:dependency> </ext:dependencies> <ext:apply> <ext:view name="ComponentView"> <ext:control id="MasterTabControl"/> </ext:view> </ext:apply> </ext:extension> </ext:add> </ext:tabpages> 

But when when changing the “ComponentView” to “ContactView” nothing is displayed before the “Information” tab on the “Contacts” screen (there are also no errors). Does outgoing email require a different configuration for GUI extensions?

+7
source share
3 answers

Well, you need to consider a few things:

  • To extend existing editors, you need to create your own extension editor. This extension editor will contain all the necessary files for your tab and configuration file with resource groups and extension nodes.

  • Indeed, OE is a different editor. Therefore, you must carefully configure the target editor that you want to expand:

 <ext:editorextensions> <ext:editorextension target="OEEditorName">...</ext:editorextension> </ext:editorextensions> 

In addition, the view name and control identifier must be set correctly.

  • You can specify the path to your control as relative to the editor where it is defined. You just need to put the “~” sign at the beginning:
 <ext:control>~/ContactWishlist.ascx</ext:control> 

This must be done because the previous path is customizable and may differ with different settings.

+5
source

I believe that the outgoing email address is the extension itself, so you probably need to expand the OE editor, not the standard CME

+3
source

The ext: view attribute specifies the area in which the extension will be loaded.

Try changing ext: view ComponentView to * and see if it loads. There is no final list of views in Tridion docs, and we can guess from the list in the Tridion \ web \ WebUI \ Editors \ CME \ Views folder.

+1
source

All Articles