Skip to content

meyntony/HeartcoreContentMigration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HeartcoreContentMigration

Description of task

  1. Create a Heartcore project
  2. Create Two languages English(US) & Danish(Denmark)
  3. Create the following structure in the project
  • Create two folders πŸ“

    • Elements
    • pages
  • In the Elements folder πŸ“‚ create an Element type βš›οΈ called Genre and create two properties:

    • Index number(Textstring, Mandatory)
    • Title(Textstring, Vary by culture)
  • In the Pages πŸ“ folder create two Document Types:

    • TV Show
    • TV Shows
  • TV Show Document Type needs 3 properties:

    • Show Summary(RTE, Vary by culture)
    • Show Genres(Blocklist using Element type: Genre)
    • Show Image(Image Media Picker)
    • Show Id(Label(String))
  • TV Shows Document Type has no properties and has the following settings:

    • List View βœ”οΈ
    • Allow as root βœ”οΈ
    • Allowed child node types: TV Show
  • The structure ↓

    • image
  1. Create a content node populated automatically using the Heartcore Client Library or if not using C# Heartcore API Docs and the api.tvmaze.com
  2. If a show exists with an ID do the following ↓
  • Update Existing Property:
    • If the property already exists in Heartcore but is empty, check if TVMAZE has a value for it. If it does, update the property in Heartcore with the value from TVMAZE.
  • Create New Content with Media:
    • If the property doesn't exist in Heartcore, download the images from TVMAZE, save them to the media section in Heartcore, and link them to a new content node you create.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages