Whitepapers > Content Blocks
Platform URL | https://[enterprise].cvtr.io/v2/system/whitepapers/content-blocks |
---|---|
API Endpoints | Retrieves the collection of Block resources/Creates a Block resource: GET/POST https://{enterprise}.cvtr.io/api/v4/blocks Retrieves/Removes/Replaces a Block resource: GET/DELETE/PUT https://{enterprise}.cvtr.io/api/v4/blocks/{id} Retrieves a Content Block resource details: GET https://{enterprise}.cvtr.io/api/v4/content-block-assets/{id} |
Epic | |
Document status | DRAFT |
Document owner | @Adam Carter |
Technical writers | @Muge Budak @Barnaby Murtagh (Unlicensed) |
Feature Overview
What does it do?
This feature creates a block for up to 5 (or more) white papers to be featured within a website. This is useful for Publishers who want to highlight specific key content on their website or via an ad server.
Admin users would implement this feature by embedding a JavaScript tag into their website. In order to display a specific content block users would reference the ‘block id’ which can be found on the enterprise level.
Add Content Block
Assign
Edit Content Block
Delete Content Block
Content Block listing
Adding a Content Block:
Click Add Content Block button
An ‘Add’ modal will overlay on the listings page. From here users can create new content block listings.A Name value is required and a Websites value is required. The website value does not validate if the value is a url. If website values already exist users can select them from the from a multi select list. Upon clicking ‘Save’ the new Content block will be created.
Name | Required | Notes |
Name | Name has to be unique | |
Websites | Website can be multiple | |
Assets | Assets can be multiple |
Editing a Content Block:
Click the Edit button in the Actions Column
An ‘Edit’ modal will overlay on the listings page. From here users can Edit the Name (required field), and Websites (required field) values and select which websites a contact block can be linked to via a multi-select. Upon clicking the ‘Save’ button the Content Block listing will display these edits.
Current functionality is missing assets
Deleting a Content Block:
Click the Delete button in the Actions column
A Delete modal will ask users if they want to confirm the deletion of a Content Block. Upon clicking ‘Yes’ the Content Block item will be deleted.
Summary
Functionality | User Story | |
---|---|---|
1 | Add Content Block | As a user I want to Add and name a Content Block so that I can embed assets to a landing page |
2 | Edit Content Block | As a user I want to be able to Edit the Content Blocks I have already created so that I can change the way assets are embedded on a website or ad server |
3 | Delete Content Block | As a user I want to be able to Delete a Content Block so that I can remove a Content block if I no longer need it. |
4 | Assign Assets | As a user I can assign the assets I would like to display on the content block (I can use the search functionality to find my desired assets) |
5 | Assign Websites | As a user I can assign the websites I would like to the content block to display on (I can use the search functionality to find my desired websites) |
6 | Custom Tables | A user can add, remove and reset columns for custom table |
User Permissions
Only admin users have access to System > Whitepapers > Content Blocks