Quantcast
Channel: SCN : Blog List - Customer Relationship Management (SAP CRM)
Viewing all articles
Browse latest Browse all 229

Why clicking on attachment property hyperlink will lock hosting business object

$
0
0

For a complete list of all my blogs regarding content management, please see here.

 

During my recent project I found a strange behavior in attachments.

Click the hyperlink of Properties

http://farm3.staticflickr.com/2810/11200858386_bd70a61722_o.png

 

do not change anything, and click back

http://farm3.staticflickr.com/2843/11200843184_97e631df3c_o.png

After back to product overview page, the overview page looks exactly the same before you click Property hyperlink.

However, if you use SM12 to check in backend, you will find the current product is locked, although it still looks as under display mode in UI!

The same behavior could be observed in one order application. I would assume this as a bug.

 

http://farm3.staticflickr.com/2836/11200858266_ac466767ae_o.png

 

By debugging I found the parent node, Product instance, is explicitly locked by content management class.

http://farm4.staticflickr.com/3827/11200966453_9543f35a92_o.png

 

However, in my application I do not need this behavior - in my application, the whole attachment assignment block has read only mode, so I don't want my BO to be locked after property hyperlink is clicked. The solution is very easy: do not bind my BO node to PARENTNODE of content management UI component GS_CM by commenting out the related code:

http://farm3.staticflickr.com/2876/11200966293_91f42ef6a4_o.png


Viewing all articles
Browse latest Browse all 229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>