To match the concept of the WorkProtect feature, a portal application must meet the following requirements:
· Maintain the dirty indicator
· Adjust portal links (This function is currently only supported by CRM).
The dirty indicator status of a portal application informs the portal that there is unsaved data.
The portal application sets the dirty indicator when the user enters a new value into an input field. The portal application resets the dirty indicator when the user saves the value (for example when the user chooses the Save button).
See section WorkProtect and Cross Navigation APIfor more details.
The portal can only check the current dirty indicator and perform the navigation without losing data, if the portal application replaces all the links that can destroy the contents of the content area with links having the following syntax (analogous to New Navigation Model / WorkProtect Mode , section Cross Navigation ):
<A HREF=myLink onclick=return
EPCM.doNavigate('any_PCD_URL')>
The
parameter <any_PCD_URL>
specifies the location of a page or an
external service in the user role. Constants must be enclosed in quotation
marks.
You can find the correct value for the page in the Role Editor.
Make
sure that you update the corresponding parameter values for the
<
PCD_URL>
in the secondary links and navigation targets when
you change the role structure.
Test
tool: com.sap.portal.epcf.loader.Dirty
The test tool supports the tracing and solving of problems related to the dirty indicator. You can find the tool under
System Administration → Support → Support Desk → Client Framework