Expand my Community achievements bar.

SOLVED

Submit to URL link not working

Avatar

Former Community Member

I am trying to setup Submit to URL and trying to include a link in the body message of the email. When I hit submit the email message comes up with the link cut by half. example

http://docs/livelink/livelink.exe?func=ll

Also, I am trying hard code the submit button but the click event in grayed out. Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Use a regular button with a custom script like:

event.target.mailDoc({

          bUI: false,

          cTo: 'CHANGE_TO_RECIPIENT_ADDRESS@london.ca',

          cCc: 'bkawaa@London.ca',

          cBcc: '',

          cSubject: 'VPN form',

          cMsg: 'Job description files can be found here.\n\nhttp://docs/livelink/livelink.exe?func=ll&objID=2702547&objaction=XmlExport&scope=one&stylesheet=12954125&transform&followaliases'

});

View solution in original post

6 Replies

Avatar

Level 10

Hi,

how does your script look like? It's impossible to say what's wrong without seeing it.

Avatar

Former Community Member

the click event is grayed out so I can't even write a code.

Avatar

Correct answer by
Level 10

Use a regular button with a custom script like:

event.target.mailDoc({

          bUI: false,

          cTo: 'CHANGE_TO_RECIPIENT_ADDRESS@london.ca',

          cCc: 'bkawaa@London.ca',

          cBcc: '',

          cSubject: 'VPN form',

          cMsg: 'Job description files can be found here.\n\nhttp://docs/livelink/livelink.exe?func=ll&objID=2702547&objaction=XmlExport&scope=one&stylesheet=12954125&transform&followaliases'

});

Avatar

Former Community Member

it works thank you, but when send the email it's give me an error message submit cancelled.