on 06-17-2014 8:37 AM
Hello,
My version: Nakisa OrgChart 4.1
I created a data element whose fields I wanted to show in the Position details (in the Employee Profile panel, which use the default Static layout 'Employee Tabs'). I am trying to display some contact info, and I used the Employee Tab Contact Info section within Employee Tabs to do it. Somehow the fields captions do not show once I do that (see picture attached). I tried using the 'Employee Tab Data Sheet' section to display the same information, and it works fine.
Any thoughts what could cause this behavior? All the fields captions have values that were configured in the data element.
Thanks
M.E.
I would also like to add that when I use the out of the box data element instead of my own, the labels show in the employee tab contact info section.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The data element XML contains the caption, either directly or as a caption key which then needs to be included in your language setup.
Can you check the AppResources\dataelementconfiguration folder in your .delta folder?
Example with caption key:
<field name="ORGUNITNAME">
<caption key="Troll_DataElement_OrgUnitName"><![CDATA[OrgUnit Name]]></caption>
</field>
Stephen
Sorry, just re-reading from the start, you are saying this is purely dependent on the type of section you select. Right?
With "Employee Tab Contact Info", you say it doesn't show; Have you tried using Field/Value Section (Multiple)?
Also, when it doesn't work, what <presentation> is referenced in your custom section within "OrgUnitPositionEmployeeDetail.xml" (in \.delta\AppResources\detailconfiguration)?
Stephen
Hi Stephen,
This is what I have been doing. I have been using a field/value (multiple) section so far, which is really not ideal (in the case the a position a position is shared by multiple employees, the info about all the employees will be duplicated within the field/value section, whereas with an Employee Tab section, multiple tabs would be created).
How do you debug the xsl in a running application?? That would be helpful to do for sure!
M.E
If you alter the XLST file directly in the runtime directory (Templates_SAP) then it will reflect immediately in the running application.
You need to put text/variables into the XSLT to make them appear in the details panel directly as debug. Not pretty, but will start to give you an idea of what is going on.
WARNING - if you want to keep a change, you need to copy that file/change into your .delta as if you are editing the runtime directory then your changes will be overwritten next time you publish.
Stephen
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.