JavaScript button to access JDE KG docs

timallen

timallen

Well Known Member
I've created a JavaScript button in my Internet Explorer that lets me go directly to a Knowledge Garden doc if I know its number. Here's how you can make one:

1) Drag any URL into your links bar in IE (www.google.com or whatever).

2) Right click your new button and choose properties. Change the URL to this:
javascript:var doc;doc=prompt('Document Number','OTM-01-0088');location.href='https://knowledge.jdedwards.com/jdecontent/CustomerKnowledge/Knowledge/'+doc+'.htm'

3) Click OK. You may get a warning that no protocol exists for "javascript:". Say that you want to continue.

4) Right click the new button and choose "Change Name". Change the name to "KG Docs"

That's it. Now, click the button. You'll get a box where you can input a document number. It *has* to be formatted with dashes (-)... maybe someone with more time than me can put in the Regex necessary to clean up a badly formatted number.

This probably should go under "stupid pet tricks" more than anything. ;)
Hope this works for you.
 
Back
Top