1
0
-1

Hi
I am new to Joget and using Community Edition.
I have one form for creating assets.

But before creating, I have to search my asset. If exists
it should display the details,
otherwise i should be able to create the asset.

Please someone help me on this, how can I achieve this.
Or it would be great if i can get sample application which is similar to this.

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hey there,

      I assume that you are searching for records (or assets) via the datalist filter in your datalist.

      In this case, you can do this:

      -----------------------------------------------------------------------------------------------------------------

      1) Open up your userview builder.

      2) Add another userview category. Edit the category permission and check the "Hide From Menu" option. Click OK. This userview category will be hidden from runtime so end users cannot directly access it.

      3) Drag in a Form userview element into the hidden category. Point it to the form used for creating assets, and then assign a custom ID. Click OK.

      4) Save the userview.

      5) Open up the datalist builder for your datalist that you used for searching assets.

      6) Add in a Hyperlink - Datalist Action as row action.

      7) Edit the hyperlink datalist action. For "Hyperlink" field, type in the Form userview menu's custom ID that you've made in step 3. Then for "Hyperlink Parameters" field, add a new row, and type in "id" for both Parameter Name and Column Name. Click OK.

      8) Save the datalist.

      -----------------------------------------------------------------------------------------------------------------

      With the technique above, now after searching for assets in your datalist, you can click the new hyperlink of any of your records to directly view asset details related to it in your specified form.

      Hope this helps.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Thank you so much.

        1. Justin

          You're welcome!

        CommentAdd your comment...