Url into DataList with Form value

Confluence User - 31 May, 2023

I have a Form, where a store a url into a textfield, with the value of this field, I created a custom Href (is in the same form). the url is defined with #form.tablename.fieldname# and it works.

I create a datalist, where I show the Urls list, I want to create redirect to this URL when I clik on it.

I tried with a Bean Shell and I can't access the value.

I tried with an Hyperlink but it couldn't resolve the value.

I didn't find any help here in the community, and I'm new to joget.


Thanks

MM



datalists

1


01 Jun, 2023
confluenceUser
confluenceUser

Try the attached app below (designed in Joget DX 7 Enterprise) showing example using JDBC Datalist Database Binder to build the following SQL to populate the Datalist and making the URL a HTML hyperlink:

SELECT id, CONCAT("<a href='",c_url,"' target='_blank'>",c_url,"</a>'") as myURL FROM app_fd_formwithurl

APP_url_in_datalist.jwa

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print