Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hyperlink in email created by scripting

1 REPLY 1
SOLVED
Reply
Message 1 of 2
s.r.hoover
543 Views, 1 Reply

Hyperlink in email created by scripting

I have written a script to send an email out to a specific users when a task becomes available for them to complete.  Is there a way to include a hyperlink to that particular task within the email, much like there is a hyperlink included when you check the "notify by email on occurrence" and an email is sent when there is a transition to a new state.

 

Thanks

1 REPLY 1
Message 2 of 2

Hi,

Thank you for posting this great question.

This could be done by changing the email.body in your OnCreate script to use:

 

email.body = '<html><body><br><div style="text-align: left; padding-left: 200px"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a  href="https://<TENANTNAME>.autodeskplm360.net/workspace#workspaceid=<WORKSPACEID>&amp;dmsid=' + dmsID + '&amp;tab=itemdetails">View Item Details for ' + item.descriptor.descriptor + '</a></font></br></body></html>';

 

Please replace <TENANTNAME> and <WORKSPACEID> with the correct values before saving your script. The dmsID value is accessible via scripting by calling the dmsID variable.

 

I hope this helps.

 

Regards,



Bastien Mazeran

Technical Support Specialist

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report