cancel
Showing results for 
Search instead for 
Did you mean: 

Create URL of document dynamically

Former Member
0 Kudos

Hi,

we have a requirement of trigerring a custom email, on particular event in Projects.

I have written the code to trigger the mail, and it is working successfully.

But we need to add the document url at the end of the email, just like the standard e-mail comes from system when a collaborator is added.

suppos the url is:

http://hostname:port/sourcing/fsbuyer/projects/projects_header,-2147481545:1100?rqaction=load&allow_....

so the only dynamic part over here is

hostname, port  ---- this will change as per Development/Quality/Prod system

project id (-214781545) , this will depand upon the document from where i trigger the mail

we have got API to get project id, but what about host name and port ?

Is there any API to give this information in Sourcing 7.0 ?

Thanks in Advance,

Vaibhav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vaibhav,

Please have a look at the IapiSystemUtilities APIs. They have some methods to get system properties. It might me be of some assistance to you.

Thanks

Devesh

Former Member
0 Kudos

Has it been solved?