task

PG import/articles -v-002

[previously]

  1. PAGE - import/articles - description and history of page, versions list

[currently]

  1. [2015-09-21] NEW PAGE VERSON - 
    1. ] review existing 

[next]

  1. [00:00] HAVE = 
    1. ] exisiting methods import book, import chapter IN sospep 
  2. [00:00] TRY = 
    1. ] write method to CALL existing add book,
    2. ] execute on 'AccountConfirm' OR initial login OR 
  3. [00:00]
  4. [00:00] NEW task IN PAGES
    1. ] NEW PAGE /api/add-default-data.cshtml - 
    2. ] contains call to add Book 
  5. [00:00] NEW chapter in BK-Templates-by-Type
    1. x] # # - default-chapter
  6. [00:00] MOVE article 
    1. x] # 2844-default-article FROM ch= type-overview TO ch= default-chapter
    2. x] search 'default-article, res=1(2844), art 1 = overview template
  7. [00:00] PUSH
    1. x] # # - upload PAGE api/
    2. x] # # - deprecate PAGE -import-subjects-v-001 
  8. [00:00] TEST
    1. x] # # - RUN runs, no errors, sucessfully imports records into current db(19)
    2. ] # # - ADD NEW - Error, looking for chapter 'index-my-book' 
  9. [00:00] NEW task 
    1. *] TRY - add chapters 'index-my-book', 'contents-my-book' to ...
    2. x] OR TRY - rename AS default-book, TEST = add new, r=PASS
    3. x] TRY - importBook(default-Book), r=PASS ( Edited add-default-data)
    4. x] TEST = add/new r=PASS,  
  10. [00:00] NEW task IN 
    1. ] run add-default-data IN db20 -  
  11. [00:00] ALIGN DATA
    1. ] O Templates - default-warehouse
    2. ] OR importWarehouse 
  12. []

sospep.importBook(source_sospep, destination_sospep, srcBookId.AsInt(), destLibraryId.AsInt());
sospep.importChapter(source_sospep, destination_sospep, srcChapterId.AsInt(), destBookId.AsInt());
 
sospep.importBook("public", {"cur_sospep_name"}, 123, 1);
sospep.importChapter("public","cur_sospep_name",srcChapterId.AsInt(),destBookId.AsInt());
 

] STRUCTURE 
Templates
  Templates-articles-by-type
  Templates by project
  My-Book
 
'MY-Book' is SEPERATE from templates, it is part of the optional 'default data set' 
- MY-Book is default-book, used to create default content when new book is generated 
 
'Templates by type' is/should be MANADATORY Book, it includes 'default-chapter' 
 
] ? where currently does 'default book' pull records from
- generates the , BUT used article_id(1) to create  
-  add_default_chapters(intid_book,stringname_book)

Details Photos Edit more

Details

ID: 5619

NAME: PAGE-VERSION-import-articles-v-002

DESCRIPTION: NEW PAGE VERSION -

START DATE TIME: 2015-09-21 11:00:00

EST DURATION: 03:00:00

END DATE TIME: 2015-09-21 14:00:00

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities