Posts

Showing posts from August, 2016

Customization in BCC to browse or find custom item descriptor

Image
ContentBrowseHierarchy.xml Add Below tag to show custom item as child node in home node.   < browse-item is-root = "false" id = "home" create-allowed = "false" show-count = "false" label-resource = "node.home.label" icon-resource = "node.home.iconSmall" multisite = "any" bin = "false" >   <browse-item is-root="false" create-allowed="false" show-count="false" multisite="any" bin="false" reference-id="Quiz"/> </ browse-item > Add below tags to display custom items in browse panel and should be able to browse. 'Quiz' is item descriptor. Those will be displayed in browse panel. <!-- Quiz -->     <browse-item is-root="true" id="quiz" create-allowed="true" show-count="false" label-resource="node.quiz.label" icon-resource="node...

Not able to save configurable options changes or modifications in BCC

While saving configurable options changes in BCC,it is not allowing to save those changes. Throwing up below errors in logs. com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement conflicted with the FOREIGN KEY constraint "xxx_config_opt_media_f". The conflict occurred in database "Publishing", table "dcs_config_opt". The INSERT statement conflicted with the FOREIGN KEY constraint "xxx_config_opt_media_f". The conflict occurred in database "Publishing", table "dcs_config_opt". Fix for this error is to drop the foreign key constraint Query: ALTER TABLE xxx_config_opt_media DROP CONSTRAINT xxx_config_opt_media_f Foreign key constraint should be dropped for custom tables in publishing schema. There should not be any foreign key constraint for custom tables to avoid such errors in publishing schema.