Reply
Regular Contributor
nbirkes
Posts: 107
Registered: 11-20-2008
0

Hyperlink in Customizer

We are using MAS 200 4.3. I would like to add a hyperlink to my inventory inquiry module that will link to a webpage where the web address will contain the mas item number, like so "http://www.foo.com/item/[MasItemNumber]".

 

Can anyone tell me how this can be done? 

--------------------------------------------------------
Nathan Birkes
MAS 200 4.3 on Windows Server 2003
Sage MAS Partner
Posts: 44
Registered: 01-12-2009

Re: Hyperlink in Customizer

One way is like this:

 

1. Press Ctrl-F9 in Inv Inquiry, choose the user-company, choose the panel to modify

2.Click on Add External Link button (top left one) in the floating Customizer toolbar

3. Draw the button to bring up the External Link Definition dialog.

4. Click on Link Settings tab

5. Under Type click on radio button for Program

6. Click on Edit Script button off to the right.

7. Paste this in the command script:

 

 

[wdx]http://www.foo.com/item/{ML_ITEM_NO$}

 

8. Click OK, exit out and save. Close Inv Inquiry if it was open and open it again.

9. Click your Link button and it should pop a new browser window

 

You can also do it through an MS Script. Hope that helps.

 

Alnoor Cassim
Alnoor@CallForHelp.biz
Regular Contributor
nbirkes
Posts: 107
Registered: 11-20-2008
0

Re: Hyperlink in Customizer

When I try to accept the script it says "The DDE Application mustn be entered".

 

What do I need to do?

--------------------------------------------------------
Nathan Birkes
MAS 200 4.3 on Windows Server 2003
Switcher
BigLouie
Posts: 1,720
Registered: 10-28-2008
0

Re: Hyperlink in Customizer

Don't forget that you need to select the Item Number variable to be able to use it in the script. My suggestion would be to try it as a Script rather than a Program.
Big Louie BMOC
--------------------------------------------------------------------------
This day in history: In 440 B.C. famous Greek writer takes his torn toga to a tailor who ask, Euripides?
Switcher
BigLouie
Posts: 1,720
Registered: 10-28-2008
0

Re: Hyperlink in Customizer

' Create the IE Object Set ie=CreateObject("InternetExplorer.Application") ' ' Set IE Properties ie.Top=0 ie.Left=0 ie.Height=700 ie.Width=800 ie.AddressBar=false ie.MenuBar=false ie.ToolBar=false ' ' Build Form Data, check field name, not sure if I have it correct. data="ML_ItemNo" ' ' Set the Navigation ie.Navigate "http://www.foo.com"+data ' ' ' Unhide the browser ie.visible=True

 

Big Louie BMOC
--------------------------------------------------------------------------
This day in history: In 440 B.C. famous Greek writer takes his torn toga to a tailor who ask, Euripides?
Regular Contributor
nbirkes
Posts: 107
Registered: 11-20-2008
0

Re: Hyperlink in Customizer

I added the button like you said but when I bring up Inventory Inquiry it's grayed out and I can't click it.
--------------------------------------------------------
Nathan Birkes
MAS 200 4.3 on Windows Server 2003
Switcher
BigLouie
Posts: 1,720
Registered: 10-28-2008
0

Re: Hyperlink in Customizer

Do a search on "Dive Deep". It will return a post of videos about Custom Office that will show you how to add a button to an existing panel.
Big Louie BMOC
--------------------------------------------------------------------------
This day in history: In 440 B.C. famous Greek writer takes his torn toga to a tailor who ask, Euripides?
Contributor
jamescecorn
Posts: 20
Registered: 03-05-2009
0

Re: Hyperlink in Customizer

i thought that might be interesting to see.

 

however, a search of "dive deep" on the MAS90 forum yields only your post above  :smileymad:

Contributor
wbyeager
Posts: 37
Registered: 03-20-2009
0

Re: Hyperlink in Customizer

Switcher
BigLouie
Posts: 1,720
Registered: 10-28-2008
0

Re: Hyperlink in Customizer

Dive Deep Into Customizer  Click here.
Big Louie BMOC
--------------------------------------------------------------------------
This day in history: In 440 B.C. famous Greek writer takes his torn toga to a tailor who ask, Euripides?