Skip to main content
Planview Customer Success Center

GetModuleViewUrl Function

GetModuleViewUrl (entityType as String, viewId as ObjectIdentifier, expirationDate as DateTime, register as Boolean) as String

Category: Common
Description: Returns a module view URL for for a specific item type
Supported Context: BusinessRules
entityType as String This is the object you are working with (Project, Task, Request, etc). For example, if you are working with Request, this would be 'EnhancementRequest'. The single quotes are required as it needs to be as String.
viewId as ObjectIdentifier(SubsystemView)

This is the View ID that needs to be referenced. To reference the ID, you need to click on Formula Options > Object tab > View. You will see three options:

  • Module View - Allows you to pick the Module level view
  • Object Details view - Allows you to pick the module details level view (e.g. Project details or Request details view)
  • Timesheet View - Allows you to select a Timesheet view
expirationDate as DateTime


  • No expiration = NULL
  • Expires in 2 weeks = Today()+weeks(2)
  • Expires five days after Due Date = $DueDate+Days(5)
register as Boolean Register allows you to specify if you want a list created of shared Module View links to create an audit trail: Not wanted = FASLE Wanted = TRUE
Returned value as String By default the GetModuleViewUrl will be provided in the form of a long URL in text format. You can use the HyperLink() function to show it as a link with a desired caption/title.