cancel
Showing results for 
Search instead for 
Did you mean: 

URL in table?

Former Member
0 Kudos

Hi friends,

I want to insert the URL in to the given table like...

This is my table structure..

<u><b>Company</b></u> <b><u>Profit</u></b> <u><b>URL</b></u>

In the above, I want to display the website names under the URL field.

How to achieve this ?

GS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Satishkumar,

Right Click on the Table UI element in your outline view and select create binding.

Select the node>Next> on this screen define the type of UI element you want to have for each column. Thus, set linkToUrl and set its type to text and select Next.

Warm Regards,

Murtuza

Former Member
0 Kudos

Hi..

How to give diff URL paths to the given URLs in the table..

GS

Former Member
0 Kudos

You might have created a node for your table.

You can create one more attribute within that node called url of type string and set the urls for different rows.

Bind this context to the LinkToUrl UI element in your table cell editior's reference property.

Regards,

Murtuza

Former Member
0 Kudos

Hi Sathish,

Hope the cardinality of the node bound to the table in 0..n and you have multiple elements.

Each element will have an attribute for ex:URL

If this attribute is populated with some values , you will be able to see multiple records in the table and obviously multiple urls in different lines.

Regards

Ayyapparaj

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Satish

1)After Creating Table using Apply Template now

2)Create a String Type value attribute and bind that to the reference property of LinkToURLUIElement in the Table

suppose your context value attribute is myURL // a String type

for(int i=1;i<=7;i++)
{
I<Your node>Element node=wdContext.create<your node>Element
node.setCompany("some"); // as your first column is Company
node.setProfit(200.00); // your profit column
node.setURL(wdContext.current<your node>.setMyURL("http://www.mail.yahoo.com"));//setting URL
wdContext.node<your node>.addElement(node);
}

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi Satish

You can show the link in your table by the following way

Assume that you have context binded to view container

1) in outline view

2) Right Click on "ROOT UI ELEMENT CONTAINER"

3) Apply Template

4) Select Table from the template list

5) select the required columns from the Context

6)* In the "<b>Edit the properties of table colums</b>" step

In the "Editor" section Select "<b>LinktoURL </b>" option from the drop down list box (But you can have only <b>BOOLEAN </b>variable to use this option no other data type is allowed ie integer,string as linktoURL)

7) Finish

Regards

Chaitanya.A

Former Member
0 Kudos

hi,

Use

Link to URL as the Table cell editor for the URL column.

set the <b>reference</b> property to the URL you want to launch

Regards

Ayyapparaj