2017-05-24 1 views
1

OneNote 용 추가 기능을 개발 중이며 각 페이지마다 일부 데이터를 저장하려고합니다.
office.js의 페이지 데이터에 OneNote REST API와 호환되는 ID가 없으므로 clientUrl을 사용하여 REST API를 사용했습니다. (Difference between notebook id by OfficeJS and OneNote API)OneNote 페이지 clientUrl 고유성

그러나 여러 페이지에 동일한 clientUrl이 있습니다.
여기 실제 사례가 나와 있습니다.

{ 
    id: "1-486e5b3666204a2d86c9394a83acd8b8!39-8b4a7756-1039-4ec5-b988-0734dbe02748", 
    links: { 
    oneNoteClientUrl: { 
     href: "onenote:https://oneeducationorg-my.sharepoint.com/personal/dongseok_one-education_org/Documents/Class%20Notebooks/Biology/Rangan%20Srikhanta/Homework.one#Geo%20learn%201&section-id=8b4a7756-1039-4ec5-b988-0734dbe02748&page-id=200133b3-ec2f-4046-86eb-85979437c973&end" 
    } 
    } 
} 


{ 
    id: "1-2ca4377c872f4f99ab872de4876a1755!146-8b4a7756-1039-4ec5-b988-0734dbe02748", 
    links: { 
    oneNoteClientUrl: { 
     href: "onenote:https://oneeducationorg-my.sharepoint.com/personal/dongseok_one-education_org/Documents/Class%20Notebooks/Biology/Rangan%20Srikhanta/Homework.one#Geo%20learn%201&section-id=8b4a7756-1039-4ec5-b988-0734dbe02748&page-id=200133b3-ec2f-4046-86eb-85979437c973&end" 
    } 
    } 
} 

그래서 제 질문은

  1. 그냥 뭔가 버그 이러한 경우, 아니면이 같은 일반적으로 발생 될 수있다? (추가 기능 API에서 'copyToSection'메서드를 사용하여 해당 페이지를 복사 한 것 같습니다.

  2. 각 페이지마다 고유 한 식별자로 clientUrl을 계속 사용할 수 있습니까? 그렇지 않은 경우 office.js에서 가져온 페이지 데이터의 고유 식별자로 무엇을 사용할 수 있습니까?

답변