Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Current »

You can add shortcut links via Designer that allow users to navigate from the grid to a dashboard, favorite or different database, e.g., click on a sales rep and open that particular 'Rep Scorecard' dashboard, or to an external application, e.g., click on a customer to open that customer's account in your ERP system.  

Open Designer

Error rendering macro 'excerpt-include' : No link could be created for 'Use Designer'.
 

To add a link, click the link icon next to the relevant dimension.  


The following screen will appear:


Click the green plus icon to add one or more new links, and populate the fields as follows:

  • Name - the caption that is shown in Phocas.
  • URL - the link code. More details below. Note there is no validation at design time.  

Once a link has been added, the link icon turns blue. After creating or changing a link, you need to rebuild the database before the link becomes available.

How a link will appear in Phocas

The 'Code' field is displayed on the user's screen as a hyperlink in blue text, as shown below. If the dimension has a single link, clicking the code value will run the link. If it has two or more, clicking the code shows a dropdown menu with all of the available link labels shown.

Linking to Rebates

If you have Phocas Rebates, you can link to an individual rebate so that users can open the rebate directly from Phocas.

Use the URL /Rebates/Rebate/Index/%% 

How the link appears in Phocas

Internal link examples

Internal links can be set up using a syntax starting with 'database', 'favourite' (spelt with a 'u) or 'dashboard', as outlined below, followed by name (or ID) and the required query.

 
Syntax
Example
Link to another databasedatabase:Name|querydatabase:GL|Dimension=Customer&Mode=Variance&Customer=%%
Link to a dashboarddashboard:Name|querydashboard:Customer Score Card|Customer=%%
Link to a favoritefavourite:Name|queryfavourite:Declining Products|Customer=%%


Note: 

  • If using ID instead of Name:  The ID is an identifier displayed as the last part of the URL.
  • Query is typically the name of the dimension you wish to filter on follow by '=%%'.  And, if required, the property relating to the dimension. 
  • The syntax you enter must use the UK English spelling, which is favourite with a 'u', even if Phocas displays the word spelt in the usual way everywhere else in the product.
  • On the 'database' link, the mode defaults to 'Period' so it doesn't need to be specified.
  • The names of the databases, favourites and dashboards are case sensitive.  If a link doesn't become active, check the spelling.

You can add links to transaction properties so that in Use Transaction mode users can click on a property (e.g., '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.

To do this:

  1. Select the link icon next to a property.

  2. Enter a name for the link (this is the name that will appear on the grid)
  3. Enter the following syntax in the 'URL' field (these are %%property_name%% placeholders).

%%property_name%%

E,g.

Value=%%invoice_number%%&AnotherValue=%%duedate%%



On the grid, the user will see a link similar to those below, which, in this example, would take them to their accounting system

Dimension properties

To reference other dimension properties within a transaction property link, enter the following syntax: 

%%dimension|dimension_name|property_name%%

Where the word ‘dimension’ is static. E.g.:

%%dimension|Ship To|Name%%

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=%%

This would replace the %% placeholder with the customer code of the selected customer. To pass a property instead of the code, use the syntax %%PropertyName%%.
 System setting links (advanced administrators only)

Administrators with permissions to view system settings can enter a system setting, for example to reference a setting that is actually a URL.

To do this:

Enter the following syntax in the link dialog.

%%setting|setting_name%%

 E.g.

%%setting|DynamicsURL%%

If the setting doesn’t exist then blank is returned. You can also chain many together, e.g.: %%setting|DynamicsURL%%%%setting|DynamicsSiteName%%

x




  • No labels