Newsroom JSON Installation

This is a guide with a few examples on how to install a JSON feed to access list page data from your newsroom HQi instance. You can replace demo.test.irmau.com with your provided instance code. 

The code examples below will only work on a secure domain.

If you would like more detailed documentation you can visit this site: http://demo.test.irmau.com/site/feed/1.0/help.aspx which has the models and methods associated with the JSON feed. 

Loading and displaying raw json results

This is a good way to view the data that is available.

See the Pen IRM Newsroom: Load and Display Raw JSON by Luke (@luke-vdb) on CodePen.

 

Load a single item

This function will load a single item by passing the id of the item you want to load.

See the Pen IRM Newsroom: Load single item JSON by Luke (@luke-vdb) on CodePen.

 

Load a List of Items

Using this you can load a list of items from a specific year or month.

See the Pen IRM Newsroom: Load a List of Items by Luke (@luke-vdb) on CodePen.

 

Load all available years as buttons for items list

This will load all of the available years as buttons that can be used to load the above list.

See the Pen IRM Newsroom: Load all available years as buttons for items list by Luke (@luke-vdb) on CodePen.