URL Format

It's important to know a bit about how the URL address is formatted for accessing web mode pages.

The regular WorkflowFirst URL can be quite unwieldy as it contains internal IDs that are used to access pages in a variety of environments. Web mode URLs, however, are shortened and optimized for indexing by search engines.

For an example of a web mode URL, you can simply look at this support site address:

508,Page,SettingUpWebMode,KB.aspx

There are two forms of web mode URLs, and this is the first form. This page name consists of four items separated by commas. Commas are chosen because they serve to delimit words yet are not penalized by search engines.

The first item, in this example 508, is the counter ID of the record. It may be useful to add a Counter field to your record so you can easily see this. But even if you don't, there is a hidden counter field (known as the record ID) that will be used anyway. This record ID will stay the same so long as the record exists, and cannot be updated.

The second item, in this example 'Page', is the name of the type. This usually refers to the name of the application tab, the top-level field, in your application where the custom view is defined.

The third item is a title. This can be any text you like, and will be ignored by the system when requesting the record, but it is normally the title of the record. It is useful to make this the title of the record so that search engines will have important keywords to index the page by.

The last item is the name of the custom view to display. If you have a Default Web Page set up, then you don't need to specify this parameter and it will pick up that one. For secondary web pages, you will have to specify the name of the custom view here.

The URL should always end with .aspx, so that it is passed through to the WorkflowFirst server.

The second form of web mode URL is for top-level types that have a list type of 'Single Record', like the Configuration tab. These do not need a record ID, as there can only be one record to view. An example of this form of URL is:

w,General.aspx

These URLs always start with the web-mode qualifier: w. After that we have the name of the tab, in this example 'General'. And so long as you have a single-item record, that's all you will need.

Also, if you have your application set to be 'Primarily Web Mode', and have a startup tab set which has a default web page custom view, you won't need any URL at all - the default page will show the startup tab's default web page automatically.


Next Topic:
v4.2.0.956 (beta)
Up Since 2/29/2024 12:02:23 AM