Skip to Content
0
Former Member
Dec 27, 2011 at 12:14 PM

OrgChart: xsl does not change sections

24 Views

(OrgChart 3.0 SP2)

Good day, colleagues

Am in a blind alley. As I learned NAKISA works this way:

1) in DetailDesigner int Top Level Details am selecting my detail (ZPositionEmployeeWDA) and creating new section there: "Field Value Section", there am adding just one field - MAIL.

Then am pushung: Finish->Submit->Save->Publish

2) this acction calls in AppResources/detaildataconfiguration/ in file ZPositionEmployeeWDA_Data.xml and adds there following code:

<fieldset max="0" name="5315d7fdc2f74ce4a82e69a71b172ef8">
<field name="MAIL"/>
</fieldset>

3) in AppResources\detailconfiguration adds:

<section enable="true" name="F9B6B0D4-BD24-D6AD-4B1C-8859C9E37D9D">
<fieldsetname>5315d7fdc2f74ce4a82e69a71b172ef8</fieldsetname>
<presentation>DetailSection1XSL</presentation>
</section>

4) so in PresentationResources I can find DetailSection1XSL.xsl and link to this file: Templates_SAP/ - as I understood this file is template, that configures how will be displayed seleted fields in "Field Value Section"

5) am opening detailsection1xsl.xsl, and changing template:

from this

	<xsl:template name="getValue">
		<xsl:param name="value"/>
		
		<xsl:choose>
			<xsl:when test="string-length(normalize-space(string($value))) != 0">
				<xsl:value-of select="$value" />
			</xsl:when>
			<xsl:otherwise>[Lang 1036]</xsl:otherwise>
		</xsl:choose>
	</xsl:template>

to this:

	<xsl:template name="getValue">
		<xsl:param name="value"/>
		
		<xsl:choose>
			<xsl:when test="string-length(normalize-space(string($value))) != 0">
				<a><xsl:attribute="href">mailto:<xsl:value-of select="$value" /></xsl:attribute><xsl:value-of select="$value" /></a>
			</xsl:when>
			<xsl:otherwise>[Lang 1036]</xsl:otherwise>
		</xsl:choose>
	</xsl:template>

seems here is everything right.

6) after new Load->Finish->Submit->Save->Publish I can see changes in my build, code changed. But nothing going on! in code I can see changes, but in web-page nothing.

Whats going on? information loads from other file? but in PresentationResources link right on this file...

Thanks.

Best regards,

Alex