Skip to content

legacy-git/HeartcoreContentMigration

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 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

 
 
 

Contributors

Languages

  • C# 100.0%