<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>External Hyperlink</title><link>https://www.aras.com/community/f/development/3649/external-hyperlink</link><description>Hallo,

recently I’ve created an self-defined ItemType with a Null-Relationship. I’ve added a string property “URL Link” to it so that it should link to external URLs. (e.g. “https://www.aras.com/”) 
But it is a plain text, how can I set it as Hyperlink</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/6557?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 08:03:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:da33bdb7-5860-43c1-95cc-7cd35172ddee</guid><dc:creator>Tejaswini</dc:creator><description>&lt;p&gt;Hi Yogalakshmi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you find any solution for the same issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Tejaswini&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/6491?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 10:30:30 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f04fbdbe-c3d3-40be-a72f-96caa9fd4bd4</guid><dc:creator>Yogalakshmi</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;As you explained on styling the Property of a Itemtype, I couldnt achive the same, can you explain me in better way.&lt;/p&gt;
&lt;p&gt;Like I added your styling code in the &amp;quot;Default Value&amp;quot; column of the Property, but still no changes occured, or the value did not look like hyperlink in the grid.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Yoga&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/2580?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 14:12:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:04dd4e10-e1df-4225-ae9c-4d0cc1a6744f</guid><dc:creator>Meismart</dc:creator><description>&lt;p&gt;Hi Angelap,&lt;/p&gt;
&lt;p&gt;I believe this should be viewed as 2 separate questions:&lt;/p&gt;
&lt;p&gt;1) How do I add an on-click event to follow a URI/URL?&lt;br /&gt;This&amp;nbsp;depends on where you want the link to appear, but essentially you can&amp;nbsp;use the OnClick of the Grid, or OnLoad of the form as you mentioned..&lt;/p&gt;
&lt;p&gt;2) How do I style a string field to look like a link?&lt;br /&gt;This can be achieved by adding css to the Item (assuming you are using a property called myproperty) you could set the default value for css to &lt;br /&gt;&lt;em&gt;.myproperty{&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: #0000AA; /* Change this with links color*/&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cursor: pointer;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration: underline;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;};&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;br /&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/2574?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 08:29:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f43d3acc-791d-4556-ba7b-dcd4df0f8e78</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;You can add null-realtionships the same way as regular relationships. Open your target ItemType and click on the &amp;#39;Relationship Types&amp;#39; tab. When you now use &amp;quot;Pick Related&amp;quot;, you would insert a regular relationship that links to another ItemType. For a Null-relationship, change the selector to &amp;quot;No Related&amp;quot; and add a new Relationship Item. For Null-Relationships, you just have to assign a Relationship Name (=name of the Relationship ItemType) and a Tab label. If you take a look at the Part ItemType, you can see a good example how the two relationship types are used in practice. Null relationships are indicated by the orange &amp;#39;plus&amp;#39; on the left side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/2572?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 11:54:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:bc0ec87b-a6d4-4a04-a51b-3582c1765406</guid><dc:creator>Former Member</dc:creator><description>&lt;p&gt;could you please explain how to add null-relationship?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/1501?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 08:46:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:67e38752-f8a5-4a97-a7a8-6979f64573c3</guid><dc:creator>AngelaIp</dc:creator><description>Hi,

I have a similar usecase than chenze. The main question is probably to use hyperlinks in the grid and not in the Form. In my case I use an additional Null-Relationship for Hyperlinks in the ItemType Part. Users shall be able to open hyperlinks directly from the relationship grid.

I didn´t spent too much time on this, because I expect some kind of hyperlink data type will one day be implemented anyway. This one is my current workaround:
1. Open Relationship ItemType used for storing the hyperlinks
2. Go to &lt;code&gt;Client Events&lt;/code&gt; tab
3. Add new &lt;code&gt;OnShowItem&lt;/code&gt; Method
4. Add the following code
&lt;pre&gt;&lt;code&gt;var path = this.getProperty(&amp;quot;link_path&amp;quot;); // &amp;lt;- use name of property that stores the hyperlink
window.open(path, &amp;#039;_blank&amp;#039;);&lt;/code&gt;&lt;/pre&gt;


This solution overrides the custom form, so it´s only sufficient when you really just store some simple hyperlinks in the relationship grid. Some other options for the Relationship grid would be a custom Action or to create a separate ItemType for hyperlinks (better look&amp;amp;feel).

If there is a solution for a &amp;quot;real&amp;quot; hyperlink properties in grids available, I would be highly interested in it!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Hyperlink</title><link>https://www.aras.com/community/thread/1491?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 16:32:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a9652c86-24fa-49d9-885e-22939a44cdb1</guid><dc:creator>Eli Donahue</dc:creator><description>Hi chenze,

There are a few different ways you could handle the url property on your item form. I would probably create two fields:
&lt;ol&gt;
 	&lt;li&gt;Text field: Set the data source to your URL Link property. This field should be visible when the form is locked by the current user.&lt;/li&gt;
 	&lt;li&gt;HTML field: Add an anchor tag to the field content that links to the URL Link&amp;#39;s value. This field should be visible when the form is unlocked or locked by another user.&lt;/li&gt;
&lt;/ol&gt;
Here is a Gist showing some sample code for this use case:



And here is the source I used for the HTML field in the example:
&lt;pre&gt;&amp;lt;a id=&amp;quot;my-link&amp;quot; href=&amp;quot;&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&lt;/pre&gt;
Hope this helps!

Eli

&lt;hr /&gt;

Eli Donahue

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>