This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - ARAS Hyperlink to Digi Key [Solved]

jsnosal - Friday, December 7, 2012 4:32 PM:

I'm trying to figure out how I can embed a hyperlink into ARAS. I would like to be able to grab the Manufacture Part number and have it search Digi Key for that part number. Is this possible? This is what I have so far. At the end of KeyWords= I would like to have the item_number of the part entered. 

Thank you for your help. 

 

For anyone that would like to do this. The working code is below. Thank you

 

<html>

<script language="javascript" type="text/javascript">

function digi_key() 

{

var thisItem = document.thisItem;

var part_number = thisItem.getProperty("item_number");

window.open("www.digikey.com/.../en

}

</script>

<a href="BLOCKED SCRIPTdigi_key()">

<img src='../images/icons/16x16/16x16_searches.gif' border=0 alt="Open Web Page"></a>

</html>