Skip to main content
Planview Customer Success Center

GetWidgetHyperLinkWithPassword Function

GetWidgetHyperLinkWithPassword(objectId as String,format as String,expirationDate as DateTime,urlOnly as Boolean,password as Boolean)

Category: Common
Description: Returns a widget URL for a single project or report specified within the "objectID" variable, where the "format" variable determines whether a 'roadmap' or 'gantt' type widget URL is returned, the expiration date for the widget (can be set to NULL if not applicable), and the "urlOnly" parameter is set to TRUE for only the URL or FALSE for the full HTML hyperlink./td>
Supported Context: BusinessRules
Parameters:  
objectId as string Represents a reference to a user object or a field that returns a user object. Normally this will be a resource on a project.
format as string Gantt, Roadmap other
expirationDate as dateTime Represents a reference to a from date as DateTime(year,month,day,hour,minute,second) e.g. DateTime(Year(Today()),1,1,08,00,00) or field that returns a date value e.g. Start Date
urlOnly as Boolean Boolean (TRUE/ FALSE)
password as Boolean Boolean (TRUE/ FALSE)
Example #1

Create a Workflow Rule that sends an email to the Project Sponsor with a link to the Project Gantt.

GetWidgetHyperLinkWithPassword(CurrentObject,'Gantt',$DueDate,true,true)

Tips Create workflow rules to set standard field values via formulas