Content Asset Link Examples

These scenarios include several examples of creating or updating links in content assets.

Updating an Existing Link

You can easily update an existing link by changing the values that determine the category, content asset, image, or page.

To change a category Link

Find β€œcgid” (category ID) and change the next value to the category ID you want to link to. If the name of the category is included in the link, find the name and change it.

Change...

<a title="Category Search Link" target="_new" href="$httpUrl('Search-Show', 'cgid', 'P')$"><span>Pans Search Link</span></a>

To

<a title="Category Search Link" target="_new" href="$httpUrl('Search-Show', 'cgid', 'J')$"><span>Jams Search Link</span></a>

To change a product Link

Find β€œpid” (product ID) and change the next value. There can be more than one type of link, but they all use pid in the link to indicate a product.

Change...

<a title="MapSource BlueChart" target="_new" href="$httpUrl('Product-Show', 'pid', 'S1965524')$"><span>MapSource BlueChart</span></a>

To

<a title="Terrain Navigator" target="_new" href="$httpUrl('Product-Show', 'pid', 'S2150489')$"><span>Terrain Navigator</span></a>

To change a content asset Link

Find β€œcid” (content asset ID) and change the next value. All links use cid in the link to indicate a content asset.

Change...

<a href="$httpUrl('Page-Show', 'cid', 'about-us')$"> About Us</a>

To

<a href="$httpUrl('Page-Show', 'cid', 'gift-details')$"> Gift Details</a>

To change an image Link

Find β€œsrc” and change the image path.

Change...

<img width="750" height="715" alt="" usemap="#instyle"src="images/asSeenIn/InStyle.jpg?$staticlink$" />

To

<img width="750" height="715" alt="" usemap="#people"src="images/asSeenIn/People.jpg?$staticlink$" />

To change an email Link

Find β€œmailto:” and change the email address.

Change...

<a href="mailto:[email protected]">[email protected]</a>

To

<a href="mailto:[email protected]">[email protected]</a>