Navigation API – EPCM.doNavigate usage for GET and POST

[] [] [] [] [] [] [] [] [] []

Symptom
This is a guide how to use Navigation API EPCM.doNavigate to control the request method for requests to launch applications that are referred from the Portal Content Area.
The EPCM.doNavigate method is defined with the following arguments:
function(target, mode, winfeatures, winname, history,targetTitle, context,postBody)
We will focus on the postBody argument and will see how we can use [...]

Interwindow communication feature-raise event to parent

[] [] [] [] [] [] [] []

Symptom
This is an additional feature of the EPCM.raiseEvent.
Other terms
EPCM raiseEvent childtoParents interwindow
Reason and Prerequisites
You are using NW2004s SP15 and above
Solution
This feature is to allow sending events from a child window to its parent windows by EPCM.raiseEvent.
The event can be sent in the following way:
1. EPCM.raiseEvent(”urn:com.sapportals.portal:childToParents”, “MyNameSpace&MyEvent”);
Where the parent should subscribe in the following way:
EPCM.subscribeEvent(”MyNameSpace”, “MyEvent”, [...]