Skip to Content
author's profile photo Former Member
Former Member

Blank positions views in org unit hierarchy

Nakisa version: OrgChart 4.1

Hi all,

I wanted to replace in views pos_standard and pos_portrait the position name by the position short. To achieve this, I made the template field named 'Position' point to Data element field POSITION_SHORT, instead of POSITION_NAME (out of the box setup) in both view templates. This method displays in view pos_standard the position short name instead of the long name (which is the intended result), but in view pos_portrait the content becomes blank (see screenshot).

Even stranger, when I revert the pos_portrait view back to its original setup (Position template field pointing to POSITION_NAME), the view stays blank!

There is no meaningful trace in the error log that could help me investigate this.

Is this something you have seen before?

Thanks for your help.


Capture.JPG (13.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 11, 2014 at 08:06 AM

    At top of template generated for pos_standard (in my 4.1 build that is pos_standard_f532615d8a9a44f.xsl), I would look to amend this line from

    <xsl:variable name="Position" select="/cds/sections/section[@name='pos_standard_TopLevelDetailf532615d8a9a44f']/detail[@name='pos_standard_TopLevelDetailf532615d8a9a44f']/record/field[@name='POSITION_STEXT']"/>


    <xsl:variable name="Position" select="/cds/sections/section[@name='pos_standard_TopLevelDetailf532615d8a9a44f']/detail[@name='pos_standard_TopLevelDetailf532615d8a9a44f']/record/field[@name='POSITION_SHORT']"/>

    A few lines below, also amend STEXT to SHORT in:






    Sounds like you might have done that BUT did you also update the detailsdata used by the Position Views? By default they don't include the POSITION_SHORT field.

    See "..\AppResources\detaildataconfiguration\pos_standard_TopLevelDetailf532615d8a9a44f.xml". Duplicate the line for POSITION_STEXT in the fieldset and change one entry to POSITION_SHORT. Put a copy of this new file in your .delta. Save and Publish.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.