cancel
Showing results for 
Search instead for 
Did you mean: 

How can Make hyper link record in to non hyper link record

Former Member
0 Kudos

Hi all,

I am making a column in the table as hyperlink(which onselect will open some documents related).

If there is no documents available for a row in the table, column of that row should not be appeared as hyperlink.

Urgent.....

Regards,

Rajesh

Accepted Solutions (0)

Answers (3)

Answers (3)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Rajesh

A simple solution is, you bind the LinkToUrl Text property to an attribute in your datasource node.

and Loop the rows in your table, if there is no document link just set that text to empty string and just set text to some value if there is a document link.

At runtime there will be a link which is not visible to the user, because there is no text.

Regards

Abhimanyu L

Former Member
0 Kudos

You could add a calculated attribute (under the table's data source node) that returns true if there are documents for that row (node element). Bind the "enabled" property of the link to this attribute.

Armin

Former Member
0 Kudos

Hi,

As far as your requirement is concerned,

Check whether the resource (File) is null or not, if it is null, then generate the column in a table dynamically with TextView UI element in the wddomodifyview(), if the condition fails then create an UI with LinkToACtion or any other UI.

Can you be more specific on your requirement(like how do u check the file is present in that location or not)... if the above solution doesn't suit your query

Regards,

TFG - Kumara Guru