on 06-03-2011 1:30 PM
Hi Luke!
I am trying to display the whole employee name in the orgchart but I am not able to get it. We are using Nakisa 3.0. I did a lot of tests modifying different xml and xsl files but I didn't get anything. I have enlarged the OrgUnitBox (via xml or AdminConsole) but it is not possible to display the whole name. Could you tell me what xml file/s I have to change in order to display de whole name?
Thanks in advance.
Thank you Stephen for your reply, but I have changed the attribute "width" in both files and nothing happened.
Luke, that is just I wanted to know, how can I get the complete name instead of "..."
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which file did you change it in? The files under ...root/Templates_SAP?
If you want to be sure that a) you have the right file and b) it is taking effect, then try putting some hard coded text before the field out.
i.e. same files ... hard code "HELLO" before the employee name
In sapemployeenamexsl.xsl - notice the width is specified here also
<text width = "250" class="EllipsisText">
HELLO<xsl:value-of select="/cds/data/record/field[@name=$EmployeeName]"/>
</text>
Similarly in sappositionnamexsl.xsl ...
</xsl:attribute>
HELLO<xsl:value-of select="/cds/data/record[1]/field[@name=$fieldname]"/>
</text>
Do they appear? If not, then we've got the wrong file or your change isn't taking effect.
Solved. Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manuel,
Stephen's post might be the solution you are looking for. I just wanted to know if you meant you wanted the full name to display instead of being cut off with "..." when it is a long name.
Best regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is that in 3.0 the XSLT has a width applied so it is restricting the size for the name in the boxes (view). I presume this is what you refer to - wondered why you said "in Business Card" in the title of your post.
If it is a problem in the view boxes ... look at the XSLT used in the view, found under Templates_SAP
sapemployeenamexsl.xsl for Employee Name
sappositionnamexsl.xsl for Position Name
In each XSLT look for the width attribute being set.
<xsl:attribute name="width">
<xsl:value-of select="250"/>
</xsl:attribute>
Regards,
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.