getUrn Collection Method

This method returns the URN for this Collection. You must run createOrUpdate() before you run this method.

Java Example

collection.getUrn(); 

Sample output:

"urn:livefyre:network=`example.fyre.co`:site=1:collection=1" 

NodeJS Example

collection.getUrn(); 

Sample output:

<span class="str">"urn:livefyre:network=`example.fyre.co`:site=1:collection=1"</span>

PHP Example

$collection->getUrn(); 

Sample output:

"urn:livefyre:network=`example.fyre.co`:site=1:collection=1" 

Python Example

collection.urn() 

Sample output:

"urn:livefyre:network=`example.fyre.co`:site=1:collection=1" 

Ruby Example

collection.urn

Sample output:

"urn:livefyre:network=`example.fyre.co`:site=1:collection=1" 

On this page