Content Management and Capture

Content Management and Capture

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

 View Only
  • 1.  ICN search help text

    Posted Thu December 17, 2020 04:15 PM

    Hi,

    I have a search template with 4 fields in my application. 2 fields are mandatory. I want to show one liner text below these 4 fields. The text is "At least one mandatory field has to be entered". Please let me know whether it is possible.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: ICN search help text

    Posted Fri December 18, 2020 05:57 PM


  • 3.  RE: ICN search help text

    Posted Tue December 22, 2020 09:15 AM

    Hi Nanda,

    oh okay. can you suggest how to do the customization. If possible, please provide sample code. ​



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: ICN search help text

    Posted Tue December 22, 2020 09:31 AM

    I can think on 2 ways to do this.

    first one, the search souled be with no mandatory fields, by search RequestFilter you will check if there is at least 1 property value but check the json search criteria values, if all are empty, you can return an error msg dialog.

    the other way is to use PropertyEditor you can find info on the redbook and samplePropertyEditor files. (can also add msg on one field, or change his HTML + js).



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration