Difference between revisions of "Short URL"
imported>Aeric |
imported>Aeric |
||
Line 13: | Line 13: | ||
* [[Application]] URL | * [[Application]] URL | ||
| | | | ||
<tt><nowiki>http://{domain}/networking/ | <tt><nowiki>http://{domain}/networking/app/{application_id}</nowiki></tt> | ||
|- | |- |
Revision as of 02:23, 25 January 2012
A Short URL is a convenient, user-friendly URL that can be used (by someone with a platform login) to access virtually any element of the platform.
Obtaining a Short URL
Clicking the tilted "figure-8" icon on a page brings up dialog that gives you a URL you can copy. You can put that URL into an email, a web page, or a bookmark. Any authorized user who follows the link goes directly to the targeted page in the platform.
- Note:
The Short URL icon for an application appears at the top of the Manage Application page for the app.
Using that URL, you can get to any of the following:
- Application URL
http://{domain}/networking/app/{application_id}
- Dashboard URL
http://{domain}/networking/dashboard/{page_id}
- Document URL
http://{domain}/networking/document/{document_id}
http://{domain}/networking/record/{record_id}
http://{domain}/networking/record/{record_name}- Report URL
http://{domain}/networking/report/{report_id}
- View URL
http://{domain}/networking/view/{object_name}/{view_id}
Once you know the pattern, you can also simply type a URL that matches one of those patterns into your browser.
The Record URL is particularly worthy of note because, once things are set up properly, you can use the record name to define the URL. (More on that subject below.)
- Considerations
Some URLs go to the platform GUI, and display the page as a tab within it. Other URLs display the page content only, without the platform GUI surrounding it. The following table shows which is which:
URL Full GUI Content Only Application URL Dashboard URL Document Record URL Report URL View URL
Record URL
A record URL is a URL that can be used to access a record in the platform. When viewing a record, you can get the record URL by clicking the Copy Short URL icon in the upper right corner of the record:
- Considerations
-
- When a Record Name has been defined, the URL that is returned contains that name.
For example: "http://.../record/Customer/ABC Co".
- When a Record Name has been defined, the URL that is returned contains that name.
- When a Record Name has not been defined, the URL contains the record ID.
For example: "http://.../record/Customer/123456789".
- When a Record Name has not been defined, the URL contains the record ID.
Record Name
When you create an Index on an object, it is possible to specify the object's Record Identifier (declared in Record Locators) as the index field.
When the Index you create is unqiue, that value becomes the "name" of the record. That name is then and it can used as part of a Record URL you specify.
For example:
- If the Record Identifier for the Customer object is specified as customer_name
-and- - A unique Index is created on the Customer object, with Record Identifier chosen as the index field.
- If the Record Identifier for the Customer object is specified as customer_name
Then
- Considerations
-
- Most Built-in or CRM objects have a name field, but no Record Identifier. For those objects, creating a unique index on the name field creates a Record Name that is used in URLs.
- One exception is Contacts, which have neither a name name field nor a Record Identifier. For those objects, it is not possible to define a Record Name. They can be accessed using a Record ID only.
Sample App
-
- This sample page uses short URLs as links in a JSP page populated with a list of object records.