I am trying to create a brand new portal that will have context and foreign key references for the person object. I am following the tips document but the tips are not working.
Both the context and fkref are not displaying on screen.
I have created a portal, attached a map zone to the portal and the UI Map references the UI Map below (which I got from the tips document):
<table summary="" border="1" cellpadding="1" cellspacing="1">
<td><span oraField="userId" oraType="fkRef:true; info:true; context:true; navigation:true;"></span></td>
With this schema:
Also I noticed that there have been other similar topics regarding this before, all of which are unanswered, so not sure if it could be done.
Thank you for clarifying that up. Looks like they need to revise the tips then.
Looking at the source for the Person page I could see that there's a method showContext. Would you know how this was rendered and could it be replicated via UI Map? Or do we have to go with another route to meet this requirement?
The syntax is something like this:
The context menu of person (any entity) is rendered using the fkRef option. The person FK Reference available in the system (PER) contains all necessary configurations for rendering context menu, navigation, info strings etc.
your schema would contain person node '<perId fkRef="PER"/>
and your HTML would contain oraField="perId".
This rendering will work in display UI maps on portals only. Not for UI maps invoked from BPA script.