cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when using a different data element in Employee Tab Contact Info

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

StephenBurr
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks for your input Stephen,

My data element contains caption keys, and all the captions are included in the language directory. When I use the Employee Tab Data Sheet all the captions show up. It's only with the Employee Tab Contact Info that I see this problem...

M.E.

StephenBurr
Active Contributor
0 Kudos

Can you check the AppResources\dataelementconfiguration folder in your .delta folder?

What files are in there?

Is PositionDetailDataElement.xml in there?  If so, can you attach?


Stephen

Former Member
0 Kudos

In the .delta\AppResources\dataelementconfiguration folder I have:

- OrgUnitHierarchyDataElement

- OrgUnitHierarchyDataElementForAnalytics_Staged

- PositionHierarchyDataElement

- UserPopulationInfo

- My custom data element.

PositionDetailDataElement is not in there ...

StephenBurr
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Stephen,

With a field/value section (multiple) and Employee Data Sheet Tab, my data element captions show.

The presentation file is DetailSection1MultipleForceDetailsReverseXSL (which is the out of the box set up).

Thanks,

M-E

StephenBurr
Active Contributor
0 Kudos

So does this resolve your problem, will you use this type of section?

I can't see why the DetailSection1MultipleForceDetailsReverseXSL presentation would cause the labels to be missing though. I'd to debug the XSL in a running application to work that one out.

Stephen

Former Member
0 Kudos

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

StephenBurr
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks for this Stephen,

I will take a look