Difference between revisions of "Short URL"
imported>Aeric |
imported>Aeric |
||
(3 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
* [[Application]] URL | * [[Application]] URL | ||
| | | | ||
<tt> | <tt>{{platformURL}}/app/{application_id}</tt> | ||
|- | |- | ||
Line 19: | Line 19: | ||
* [[Dashboard]] URL | * [[Dashboard]] URL | ||
| | | | ||
<tt> | <tt>{{platformURL}}/dashboard/{page_id}</tt> | ||
|- | |- | ||
Line 25: | Line 25: | ||
* [[Document]] URL | * [[Document]] URL | ||
| | | | ||
<tt> | <tt>{{platformURL}}/doc/{document_id}</tt> | ||
|- | |- | ||
Line 31: | Line 31: | ||
* [[Record URL]] | * [[Record URL]] | ||
| | | | ||
<tt> | <tt>{{platformURL}}/record/{record_id}</tt> | ||
<br> <tt> | <br> <tt>{{platformURL}}/record/{[[#Record Name|record_name]]}</tt> | ||
|- | |- | ||
Line 38: | Line 38: | ||
* [[Report]] URL | * [[Report]] URL | ||
| | | | ||
<tt> | <tt>{{platformURL}}/report/{report_id}</tt><br> | ||
|- | |- | ||
Line 44: | Line 44: | ||
* [[View]] URL | * [[View]] URL | ||
| | | | ||
<tt> | <tt>{{platformURL}}/view/{object_name}/{view_id}</tt> | ||
|} | |} | ||
Once you know the pattern, you can also simply type a URL that matches one of those patterns into your browser. | Once you know the pattern, you can also simply type a URL that matches one of those patterns into your browser. |
Latest revision as of 21:40, 30 March 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
https://na.longjump.com/networking/app/{application_id}
- Dashboard URL
https://na.longjump.com/networking/dashboard/{page_id}
- Document URL
https://na.longjump.com/networking/doc/{document_id}
https://na.longjump.com/networking/record/{record_id}
https://na.longjump.com/networking/record/{record_name}- Report URL
https://na.longjump.com/networking/report/{report_id}
- View URL
https://na.longjump.com/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.