Hi Expert
I have an interface where I have read only grid .
Now, when the user clicks on completed Status , I want a way to open the interface as a dialog. if there is a way please let me know.
I tried with record action but not able to achieve this .
a!gridColumn( label: "Status", sortField: 'recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status', value: a!richTextDisplayField( value: a!richTextItem( text: if( a!isNullOrEmpty( fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'] ), "", fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'] ), link: if( and(fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'] = cons!CDM2_VAL_TARGET_STATUS[2],fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{searchBy}searchBy']<>cons!CDM2_SEARCH_BY_OPTIONS[5]), a!safeLink( label: "", uri: rule!CDM2_ER_getAllInOneReportLink() & fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{id}id'] & "?repType=all", openLinkIn: "NEW_TAB" ), a!dynamicLink( label:"", value: a!recordActionField( actions:a!recordActionItem( action:'recordType!{6d7edf3a-4632-432d-bae9-5e7daf0df4e8}Target_Record.actions.{0e6b7746-0abf-4994-9c04-00ab7d18eafd}ReportLink', identifier:fv!row['recordType!{6d7edf3a-4632-432d-bae9-5e7daf0df4e8}Target_Record.fields.{id}id'] ) )) ), color: if( searchb( "Error", fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'] ) <> 0, "NEGATIVE", { a!match( value: fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'], equals: cons!CDM2_VAL_TARGET_STATUS[2], then: "POSITIVE", equals: cons!CDM2_VAL_TARGET_STATUS[4], then: "#434343", equals: cons!CDM2_VAL_TARGET_STATUS[3], then: "#434343", default: if( fv!row['recordType!{1b81b174-97c1-47ee-aa85-b20723b749c3}CDM2_Target Record.fields.{status}status'], "", "#FFBF00", ), ) } ) ) ), align: "CENTER" ),
Thanks
Discussion posts and replies are publicly visible
Stefan Helzle has a recipe on his blog Appian Rocks, for a built-in "fake easy popup" which should satisfy a lot of use cases.
I'm curious though why the Record Action approach won't work for you? FWIW your code looks wrong at first glance, the Record Action Field does not go in the value of a Dynamic Link, it is a field by itself which you would call separately from other components.