Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
Expand all | Collapse all

LDAP field in LaunchProcessor is showing "ecm.model.User[Id]" instead of displayName when using propertyEditor

  • 1.  LDAP field in LaunchProcessor is showing "ecm.model.User[Id]" instead of displayName when using propertyEditor

    Posted Wed February 17, 2021 02:21 PM

    When Launching the workflow for a document & that document has a property "approver" that is mapped to the Workflow property which is a LDAP Property.

    Without customisation: It is showing the displayName of the user.

    With customisation/using propertyEditor:

    When using the PropertyEditor (that will show the button besides the property and the same code is available in 'SamplePropertyEditor.html' of 'samplePlugin' ) it shows like 'ecm.model.User[Id]' instead of displayName.

    The value in the 'getLaunchParameter' filter is coming correct in both the cases.

    SamplePropertyEditor.html

    <div class="dijit dijitReset dijitInline dijitLeft" id="widget_${id}" role="presentation">

    <div class="dijit dijitReset dijitInline dijitLeft" data-dojo-attach-point="stateNode">

    <div class='dijitReset dijitValidationContainer'>

    <input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"/>

    </div>

    <div class="dijitReset dijitInputField dijitInputContainer">

    <input class="dijitReset dijitInputInner" data-dojo-attach-point='textbox,focusNode' autocomplete="off"

    ${!nameAttrSetting} type='${type}'/>

    </div>

    </div>

    <button data-dojo-type="dijit/form/Button" data-dojo-attach-point="sampleButton" data-dojo-attach-event="onClick: _buttonClick">Lookup</button>

    </div>

    Any suggestion why this deviation??



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: LDAP field in LaunchProcessor is showing "ecm.model.User[Id]" instead of displayName when using propertyEditor

    Posted Tue February 23, 2021 09:18 AM

    Hi,

    What is the purpose of the customization? You may use the default editor or revise SamplePropertyEditor to display the user displayName.

    Regards,

    Angie



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration