Templates in Orgchart 3.0 SP2

In my last post  I asked for help with the employee portrait (http://forums.sdn.sap.com/thread.jspa?threadID=2124170&tstart=0). Till now I still working in order to solve the issue.
I'll try to explain me the best I can:
1.- I have edited the template SAPDirectEmployeePhotoXSL in order to remove the leading zeros, but it does not work fine. Where I have to change the field URI to PERNR?
2.- Where or How could I found all portraits templates? I mean, the templates used in the views, managers and so on...
3.- There is a debugger which could we use to debug the XML/XSL code? Sometimes we don't know if our code is working.
Please I need to solve all these problem and we don't have much time, I really appreciate all  you can tell me...
Thanks and best regards
Edited by: Emilio Ciotta on Feb 16, 2012 3:32 PM

Hi Luke thanks for the reply,
I already changed the file, however, it does not working fine yet... The problem right now:
.- In OrgChart, the system dosen't show the employee picture, neither the typical red "X" appears.
The code in SAPDirectEmployeePhotoXSL:
<xsl:choose>
  <xsl:when test="string-length(normalize-space(string(/cds/data/record[1]/field[@name=$fieldname]))) > 0">
    <xsl:choose>
      <xsl:when test="starts-with(/cds/data/record/field[@name='PERNR'],'0')">
      </xsl:when>
      <xsl:otherwise>
<img src="images/portraits/na_s.gif" class="PhotoSize" width="70" border="0"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:when>
  <xsl:otherwise>
    <img src="images/portraits/na_s.gif" class="PhotoSize" width="70" border="0"/>
  </xsl:otherwise>
</xsl:choose>
I don't understand Why between the tags <xsl:when...and...</xsl:when> or <xsl:otherwise> tags there is no code?
The code in  SAPPositionIncumbentsInfoDetailsConfig_Data.xml:
<detaildata>
<dataelement>SAPEmployeeDetailsDataElement</dataelement>
<targettable>Table1</targettable>
<fieldsets>
<fieldset max="0" name="6ae4e0ec11be4b899f3325ae7c30d2c5">
<field name="Name"/>
</fieldset>
<fieldset max="0" name="c261b4f7f4b348a8a6c916d34780d488">
<field name="Object_ID"/>
<field name="Name"/>
<field name="Location"/>
</fieldset>
<fieldset max="0" name="7a3781cbd089444a881566972d153291">
<field name="Object_ID"/>
</fieldset>
<fieldset max="0" name="EmployeeDetailData">
<field name="Address"/>
<field name="BirthDate"/>
<field name="BirthPlace"/>
<field name="MaritalStatus"/>
<field name="EntryDate"/>
</fieldset>
<fieldset max="0" name="0453c0db10244b47b086a8b99dab9d0e">
<field name="Object_ID"/>
</fieldset>
<fieldset max="0" name="8d0d4d9c5aff4067b3228bd4b1fc5b7e">
<field name="Object_ID"/>
</fieldset>
</fieldsets>
</detaildata>
I don't understand whats going on.. Could you please help me again?
Thanks and best regards
Edited by: Emilio Ciotta on Feb 17, 2012 2:16 PM

Similar Messages

  • Remove fields from OrgChart extended employee profile

    Hello experts,
    I would like to remove two fields from the Extended Employee Profile from all Herarchies: "Address" and "Place of birth".
    I reviewed the Details Designer from the AdminConsole but I see they are part of a data sheet so I guess it is not as easy as untick them to be removed. Any guidelines where I can deleted them from the details panel?
    OrgChart 3.0 SP2
    Build 0702019400
    Any assistance would be helpful.
    Regards,
    Ana

    Hi Ana,
    Try ..\AppResources\detaildataconfiguration\SAPPositionIncumbentsInfoDetailsConfig_Data.xml - there is a fieldset called EmployeeDetailData that contains the fields.
    Best regards,
    Luke

  • OrgChart's date

    Hello, colleagues,
    (OrgChart 3.0 SP2)
    I need to have ability to change viewing date of orgChart for custom, at this moment viewing date is today.
    Thanks.
    Best Regards,
    Alex.

    Hi Alex,
    How are you getting your data for the OrgChart? If you are using NakisaRFC then you can create a new keyword in the NakisaRFC ABAP Add-on keywords. This can be dynamic, e.g. 01.MM.YYYY (where MM = month and YYYY = year). If you are using a function then you probably need to define the date in your function, based on the SY-DATUM.
    Note: it is not possible for the user to select a date.
    Best regards,
    Luke

  • Custom view

    Hello, colleagues
    (OrgChart 3.0 SP2)
    I have a need to customize View elements. My need can't be afford by Administration Console.
    First of all I need to connect my own data element with custom View.
    Then I need to customize data, displayed in View: images (assistance, etc), fields (for example, dont display any fields except Position ID). I think that could be reached by editing standart templates, but where can I find them?
    it's not obviously which file should be edited.
    Alex.

    Alex,
    If you want to change this view you can in 2 ways ...
    1) Change the template and re-generate the view (probably not worthwhile)
    2) Change the XSL generated from the template
    I would do it the 2nd way!
    OU_Standard_2L, by standard, was used to generate this XSL:
      ...\Templates_Generated\ou_standard1b414f049f14434.xsl  (Live solution)
      ...\Templates_Generated\ou_standardba9fa6f0e3c246b.xsl  (Staged solution)
    Copy from the applicaiton into folder
    ...\<build>\.delta\Root\Templates_Generated
    (create folder if necessary)
    Amend the XSL and publish to test.
    Note: you can edit this file directly in published "Templates_Generated" folder which can be useful to test (as you don't have to restart the application to see the affect of your change) but be sure to put it in the .delta when you have got it working as you want so you don't lose it when you publish next time!
    Stephen

  • Basket element's color in listing

    Hello, professionals,
    OrgChart 3.0 SP2
    I've met following problem:
    color for employees selected elements in basket is default, not like in OrgChart structure.
    I am using in OrgChart structure OrgUnits and Positions, Orgunits selected elements has same custom color in structure's basket and in lisiting basket. And employees elements has default grey color. How can I customize this color?
    Thanks
    Best regards,
    Alexander.

    The basket detail uses presentation "BasketItemXSL", so try looking at:
            ...\Templates_SAP\BasketItemXSL.xsl
    But my feeling is that this is not your root cause.
    I think the object colour should be controlled by the extrainfo item in the orgchartconfiguration file (e.g. "SAPOrgUnitOrgChart.xml") for the hierarchy in question.
    e.g. for position hierarchy:
    <item name="objectcolor">FFE76B</item>
    OSS could be the route to go ...
    Regards,
    Stephen

  • Downloading LanguageCaptions problems

    (OrgChart 3.0 SP2)
    Good day, colleagues,
    I have a problem with downloading LanguageCaptions.zip file from my old builds.
    Mylast build called, for example, "__000__Build_5", when this build is published everything is ok, I can download .zip file with LanguageCaptions.csv from Caption Editor.
    I had a need to download LanguageCaptions.csv from oldest versions, so I ran and published build, named "__000__Build_1". In Caption Editor am pushung "Generate CSV", then apperas link, named "Download", after clicking on link instead of downloading I see error:
    Error: Requested file /.system/Admin_Config/__000__Build_5/LanguageCaptions.zip does not exist.
    Troubleshooting Guide: link on sdb.wiki
    Details: No details avaliable.
    When I have LanguageCaptions.zip in __000__Build_5 it's ok, error is missing, but I need data from __000__Build_1.
    I was trying:
    - restore files in OrgChart/root from oldest versions (except images, help and documentation dirs);
    - load different builds.
    Thanks.
    Best regards,
    Alex.
    Edited by: Luke Marson on Jan 12, 2012 2:22 PM - corrected formatting.

    Alex.
    I had a similar problem recently and I found my solution at the end of the Exporting Captions section in the Admin guide (p48 (p58 really)):
    Although the CSV file is updated every time you click Generate CSV, the Download link is not refreshed; consequently, the link will open the first CSV file generated in the current session. If you have already exported a CSV file and then make additional caption changes in the same session, publish the build, close the browser, and access the Nakisa AdminConsole before exporting the new changes.
    Perhaps you've hit the same issue and need to close the browser?

  • SAPSR3DB account locking when carrying out extraction and analytics

    Hi,
    Has anyone encountered the above problem?  We are using OrgChart 3.0 SP2 (Build 0702019400) on NetWeaver CE 7.2 / Oracle.
    Thanks in advance
    Neil

    Hi Neil,
    I've never experienced this problem on SP2, although I recommend that you upgrade to the latest version since that is the SMP  version and contains a lot of bugs. You can download the latest build from a SAPMats link here: [3.0 SP2 - SAPmats links for latest builds;
    Best regards,
    Luke

  • Employee Listing

    Hi experts,
    I have an issue when using Employee Listing in OrgChart 3.0 SP2, it's not bringing the search for name, ID, etc.
    I'm only able to use Position Listing and OrgUnit Listing.
    Do you have any idea what's happening here?
    We supposed to use seaches for EN and PT languages.
    Thank you !
    Marcelo

    Hi Luke,
    Sorry, I was confusing the files.
    The file LangFields.txt has the right language texts:
    "English,Portuguese"
    Is there something else to verify?
    Thanks,
    Marcelo

  • SP2 Weblogic Integration Template Production Mode Failure

    I was surprised that in SP2, this simple failure is still not fixed:
    Launch configuration wizard.
    Choose Integration Template
    Choose Express Configuration
    Choose Production Mode
    Launch new domain
    You'll see the startup fails because the WLI tables are missing. This
    was broken in every release so far, and is pretty sad since it's one of
    the most basic things you can do with WL.

    Figured it out. When you try to create a new domain, it must be created in development mode (even if you want to run it in production mode). Start it at least once in development mode before trying to start it in production mode. To change whether the server starts in development or production - edit the setDomainEnv.sh file (in the same directory as config.xml). Towards the bottom of the file, there is an if condition that looks like this:
    if ("" = "true"){
    change it to
    if ("true" = "true) {
    then your server will start in production mode.

  • OrgChart VSN30 SP2

    Already SSO with Log-On tickets exist between MSS and ECC Back-end.Also SSO is configured in Nakisa Admin Console in Security settings(Authentication settings) without role mapping.
    Should I include the following data as shown below for the product OrgChart VSN30 SP2:
    Save the verify.pse file to the following Nakisa application directory: [Main application directory]\.system\[build]\Root\XML
    Thanks,
    Sakthi.

    Hi Sakthi,
    If you are using standard SSO configuration (not Base 64 decoding) and have configured the use of verify.pse in your credentials.xml file then you need to plce the verify.pse file here.
    For more information on this configuration you can see the VSN Wiki page [SAP SSO Authentication with verify.pse using SAPSSOEXT|https://wiki.sdn.sap.com/wiki/display/ERPHCM/SAPSSOAuthenticationwithverify.pseusingSAPSSOEXT].
    Best regards,
    Luke

  • Views in customs OrgChart (VSN30 SP2)

    Hello,
    We're trying to create a view in our custom OrgChart, but a error message occurs:
    "The following view does not support groups..."
    Because of this, we couldn't create a view in any of our custom OrgChart. We have deleted the standar view in order to create a new one, but the OrgChart in the application doesn't work fine...
    Could some one help us?
    Thanks and best regards

    Hello...
    I just solved the problem... In the Enable/Disable Views section, just uncheck the Standar view and it is all.
    Best regards

  • Nakisa OrgChart Detailed View in VSN30 SP2

    Hi Experts,
    In Nakisa OrgChart, I cannot see the detailed view of each Org.Unit in the right pane with SSO.
    Also I did the role mapping. But still unable to view the details. Also I used default roles (Manager), but still unable to view.
    But in anonymous acces I can see the detailed view of each OrgUnit.
    Regards,
    Xavier.

    Hi Xavier,
    For Anonymous mode you will see what the user assigned to access data sees, but when you use authentication you only see what your user is authorized to see. Therefore it could be correct that aith Anonymous you see everything but with authorization you see much less. Is your user for Anonymous access different to your user?
    Do you have authorizations to see the data displayed in the details panel? If you login with a user that has SAP_ALL (assuming your user doesn't have SAP_ALL) do you see anything or is it the same?
    You won't see View in Analytic Profile or any analytics in Anonymous because these items are secured to application security roles and these aren't used with Anonymous authentication.
    The log updates in real-time. You can select the latest log in the Log Viewer - it will just be called cds.log and doesn't have the date in the name. The log name changes to the date when a new day starts. You can also access the log in the file system under the Log folder.
    Best regards,
    Luke

  • Error While Creating Windows Server 2008 SP2 32-BIT Virtual Machine

    I am facing an error while creating a Virtual Machine on the Cloud. The Error is below:
    Error (610)
    Virtual Machine Manager was unable to find a value for the required Sysprep parameter ProductKey.
    Recommended Action
    Add the missing Sysprep parameter either to the answer file or to the operating system configuration, and then try the operation again.
    My Template does not have the Product Key defined.  The OS is Windows Server 2008 SP2 32-BIT.  Is defining Product Key absolutely necessary?  I have other Templates for other Operating Systems and they are working fine.  Only facing problem
    with this.
    Any help would be appreciated.

    In the SCVMM world a 'template' is composed of the following: a VHD with an OS that has been generalized (sysprep), virtual hardware profile (settings), and an OS profile.
    The OS profile is required to have a product key.  A MAC activation key at the minimum.  But the key is required.
    If you deploy a VM from a VHD, the same customization assumptions are not at play.  Which is why it succeeds.  (there is no template in this case, there is also no requirement that the OS in the VHD be sysprep'd).
    SCVMM has rules.  And lots of things don't make sense until you begin to understand them and play within them. (I am not saying that the SCVMM rules are a good thing, just saying they exist)
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Template Builder (BIPublisherDesktop.exe) installation for multiple users

    Hello,
    I tried to install version 10.1.3.4 of the template builder on a Citrix server (Metaframe 4.0) running under Windows 2003 SP2, and with Office 2003. Framework .NET 2.0 and JRE Sun 1.6 are also installed.
    It works, but, in Word 2003, the "Oracle BI Publisher" menu is only available for the user who have made the installation. Other users can"t see it ?
    I have monitored the registry during installation, and most of the keys are created in HKEY_CURRENT_USER, explaining why others can't see it.
    Is there a way to make one install available for all users ?
    Thanks.
    Edited by: user528106 on 27 janv. 2009 01:31

    Yes Rainer... I got the problem just now...
    Thanks for the reply...
    Regards,
    Amit

  • How do I Open a VI Reference to a version of a VI Template running in memory?

    I'm spawning multiple versions of a VI Template using the VI server. I understand that each time I run a new version of the template it gets it's own space in memory. I then need to get a VI Reference to each indiviual version of the template running in memory so that I can open and close front panels dynamically, fron the calling VI and the template itself. When a version of a VI template is dynamically run LabVIEW renames it, so that the name of the VI running in memory is slightly different from the name of the template that it was based on, so I can't wire a name into the "Open VI Reference" node. I tried using the "Current VI's Path" node inside the template itself and that did not wor
    k either.
    I hope I explained this well enough. Any help greatly appreciated.

    Alternatively, you can open a reference to the LV application and use a property node to get the names of all VIs in memory. Using this, you can generate a reference to the individual VIs too (without having to enter the path). You can wire the name of the VI to the "path" input of the open VI reference VI to open a reference to the VI if it is already in memory.
    Shane.
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Maybe you are looking for

  • Change control values on button press

    Hi, I've got a situation where I have several numeric controls where you can change different values. I also have several subVIs with control references (as described in this article: http://labviewwiki.org/Control_References) that takes in reference

  • OS cant find compiler??

    Downloaded Standard Edition jdk1.3.1 on my windows 98 system. I set the path on the Autoexec.bat screen to Set PATH= C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1\bin set classpath=.;C:\classes when I open the bin directory I see the javac.exe file. But

  • Using a function to create a report

    Hi, I have a report created with a select statement, I would like to create a function which will return the result of the select statement and use this function to create the report ? Does anybody know how I can do it ? I mean how to create a functi

  • Installing windows 7 on the NEW iMac 21.5inch mac

    Hey Guys im thinking on buying the new iMac 21.5 mac (link Below) but im wondering how would you install windows 7 on there through bootcamp. The Mac doesnt have a disk drive and Apple USB Super Drive connects via USB which the Mac will not read well

  • Missing workbook text elements

    Hello, After upgrading to BI7 we are experiencing an issue with the missing text elements. We use workbooks with a sheet to receive the query and then a macro to reformat the query to user display form. The query sheet generally has a text element ar