Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to display concatenated string in pxDropDown

SA-64743

Summary



Unable to display concatenated string in pxDropDown sourced through a report definition.


Error Messages


 
  • ERROR in /Rule_HTML_Section_ _Data_PartsOrdering_PartsOrderingRecords_Stream_20180907T213835_035_GMT.java (at line 288)
    tools.appendString(pega_uiengine_formatter.pxFormatText(pega_uiengine_pzcontrol.pzGetCaptionValue("reportdefinition","Data-Admin-Operator-ID","GetPOOperators","","","",".pyUserIdentifier","@@pxConcatenate(.pyUserName,.pyUserIdentifier,",")",true,(PegaStreamAPI)tools),false,"","",true,"caption"));
    The method pzGetCaptionValue(String, String, String, String, String, String, String, String, boolean, PegaStreamAPI) in the type pzControl is not applicable for the arguments (String, String, String, String, String, String, String, String, String, boolean, PegaStreamAPI)
  • ERROR in /Rule_HTML_Section_ _Data_PartsOrdering_PartsOrderingRecords_Stream_20180907T213835_035_GMT.java (at line 289)
    if("".equals(pega_uiengine_pzcontrol.pzGetCaptionValue("reportdefinition","Data-Admin-Operator-ID","GetPOOperators","","","",".pyUserIdentifier","@@pxConcatenate(.pyUserName,.pyUserIdentifier,",")",true,(PegaStreamAPI)tools)) && !"true".equals(tools.getParamValue("FORMAT_PLAIN_TXT")) && ((pzAuto.getBrowserUtils().isIE() && !pega_uiengine_harness.pzInStandardsMode()) || "true".equals(tools.getParamValue("fromAPI"))) ){
    The method pzGetCaptionValue(String, String, String, String, String, String, String, String, boolean, PegaStreamAPI) in the type pzControl is not applicable for the arguments (String, String, String, String, String, String, String, String, String, boolean, PegaStreamAPI)
  • ERROR in /Rule_HTML_Section_ _Data_PartsOrdering_PartsOrderingRecords_Stream_20180907T213835_035_GMT.java (at line 429)
    modePage1.put("pyValue",".pxPages[email protected]@pxConcatenate(.pyUserName,.pyUserIdentifier,",")");
    The method put(String, String) in the type IUIComponentMetadata is not applicable for the arguments (String, String, String)
  • ERROR in /Rule_HTML_Section_ _Data_PartsOrdering_PartsOrderingRecords_Stream_20180907T213835_035_GMT.java (at line 554)
    valueString = cbpRow.getStringIfPresent(".pxPages(@@pxConcatenate().pyUserName,.pyUserIdentifier,",")");
    The method getStringIfPresent(String, boolean) in the type ClipboardPage is not applicable for the arguments (String, String)
  • ERROR in /Rule_HTML_Section_ _Data_PartsOrdering_PartsOrderingRecords_Stream_20180907T213835_035_GMT.java (at line 647)
    modePage1.put("pyValue",".pxPages[email protected]@pxConcatenate(.pyUserName,.pyUserIdentifier,",")");
    The method put(String, String) in the type IUIComponentMetadata is not applicable for the arguments (String, String, String)


Steps to Reproduce

  1. Log in to the application
  2. Add a field that uses pxDropDown control which is sourced through a report definition
  3. Use the pxConcatenate function to concatenate two fields in the report definition. Running the report definition separately displays the concatenated value. However, using the function in the property for the value field does not save the section and displays the errors





Root Cause



Calculations created in report definitions are internally stored as @@functionname(params). These report definitions are not assigned to any property and hence, the drop down is unable to support the function.


Resolution

Perform the following local-change:

Add pyTextValue(1) in the 'property for display text' field.




In the Clipboard, pyTextValue is the property that has the concatenated value.



 

 

Published September 27, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us