Add shortcut links in Designer
You can add shortcut internal links that allow users to move from the grid directly to a dashboard, favorite or different database. For example, click on a Sales Rep and open that particular Rep Scorecard dashboard.
You can also add links to an external application. For example, click on a customer to open that customer's account in your ERP system.
Learn about how links are used in Phocas
In the example below, the Code property displays on the user's screen as a hyperlink in blue text. If the dimension has a single link, clicking the code value will open the link. If the dimension has two or more links, as in this example, clicking the code shows a dropdown menu with all of the available links.
Add a link to a dimension
In Designer, click the Link button next to the relevant dimension.
In the Links window, click the green plus button to add one or more new links, then enter the following details:
Name - The name that displays in the grid.
URL - The link code. See below for more information. Note there is no validation of the link at this stage.
Click Save. The link button (icon) turns blue to indicate a link was added.
Rebuild the database to make the link available.
Link to Rebates
If you have Phocas Rebates, you can link to an individual rebate, so users can open the rebate directly from Phocas.
Use the URL /Rebates/Rebate/Index/%%
Add a link to a transaction property
You can add links to transaction properties so that in Transaction mode, users can click on a property (such as Customer Website, Invoice or even Invoice line) to open an external application at a specific place. For example, clicking on an Invoice line transaction property would open that particular line in your accounting system. These links are only visible to the user when in Transaction mode.
In Designer, click the Link button next to the relevant property.
In the Links window, click the green plus button to add one or more new links, then enter the following details:
Name - The name that displays in the grid.
URL - The link code. Enter the following syntax (placeholders):
To reference a property, use %%property_name%%. For example, Value=%%invoice_number%%&AnotherValue=%%duedate%%
To reference other dimension properties within a transaction property link, use %%dimension|dimension_name|property_name%% (where the word ‘dimension’ is static). For example, %%dimension|Ship To|Name%%
Click Save. The link button (icon) turns blue to indicate a link was added.
Rebuild the database to make the link available. On the grid, users will see a link similar to those below, which, in this example, would take them to their accounting system.
Add an external link
As well as linking to other Phocas databases, this feature can be used to open external applications and webpages, using the same parameter passing method. This is particularly useful when the partner ERP system can be opened using URLs.
The syntax is the same, except for the domain part: https://mywebsite.com/CustomerInquiry?CustomerID=%%
Replace the %% placeholder with the customer code of the selected customer. To pass a property instead of the code, use the syntax %%PropertyName%%