From 19215edf18e7a745c51f79aff3cb82e57b14e112 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 14 Dec 2023 12:09:02 -0800 Subject: [PATCH] Add sample.json files for tutorials (#645) --- .../Git the gist/assets/sample.json | 46 +++++++++++++++++++ .../My Office Add-in/assets/sample.json | 46 +++++++++++++++++++ .../powerpoint-tutorial/assets/sample.json | 46 +++++++++++++++++++ .../My Office Add-in/assets/sample.json | 46 +++++++++++++++++++ .../assets/sample.json | 46 +++++++++++++++++++ 5 files changed, 230 insertions(+) create mode 100644 Samples/tutorials/outlook-tutorial/Git the gist/assets/sample.json create mode 100644 Samples/tutorials/powerpoint-tutorial-yo/My Office Add-in/assets/sample.json create mode 100644 Samples/tutorials/powerpoint-tutorial/assets/sample.json create mode 100644 Samples/tutorials/word-tutorial/My Office Add-in/assets/sample.json create mode 100644 Samples/word-citation-management/assets/sample.json diff --git a/Samples/tutorials/outlook-tutorial/Git the gist/assets/sample.json b/Samples/tutorials/outlook-tutorial/Git the gist/assets/sample.json new file mode 100644 index 000000000..0cb22e259 --- /dev/null +++ b/Samples/tutorials/outlook-tutorial/Git the gist/assets/sample.json @@ -0,0 +1,46 @@ +[ + { + "name": "office-outlook-add-in-tutorial", + "reponame": "office-add-in-samples", + "source": "officedev", + "title": "Outlook Tutorial - Completed", + "shortDescription": "A completed version of the step-by-step Outlook tutorial hosted on learn.microsoft.com.", + "url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/tutorials/outlook-tutorial", + "longDescription": [ + "The tutorial gives step-by-step instructions on how to add functionality alongside explanations as to why code is being added. Use this sample if you want to explore and try the completed code, or if you need to debug any issues you may have encountered while following the tutorial." + ], + "creationDateTime": "2023-09-12", + "updateDateTime": "2023-09-12", + "products": [ + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "JavaScript" + } + ], + "thumbnails": [ + { + "type": "Image", + "order": 100, + "url": "https://learn.microsoft.com/office/dev/add-ins/images/add-in-buttons-in-owa.png", + "alt": "The message compose form in Outlook on the web with the add-in button and pop-up menu highlighted." + } + ], + "authors": [ + { + "gitHubAccount": "microsoft", + "pictureUrl": "https://github.com/microsoft.png", + "name": "Microsoft" + } + ], + "references": [ + { + "name": "Tutorial: Build a message compose Outlook add-in", + "description": "Build an Outlook add-in that can be used in message compose mode to insert content into the body of a message.", + "url": "https://learn.microsoft.com/office/dev/add-ins/tutorials/outlook-tutorial" + } + ] + } + ] \ No newline at end of file diff --git a/Samples/tutorials/powerpoint-tutorial-yo/My Office Add-in/assets/sample.json b/Samples/tutorials/powerpoint-tutorial-yo/My Office Add-in/assets/sample.json new file mode 100644 index 000000000..5f1112946 --- /dev/null +++ b/Samples/tutorials/powerpoint-tutorial-yo/My Office Add-in/assets/sample.json @@ -0,0 +1,46 @@ +[ + { + "name": "office-powerpoint-add-in-tutorial-yo", + "reponame": "office-add-in-samples", + "source": "officedev", + "title": "PowerPoint Tutorial (yo office) - Completed", + "shortDescription": "A completed version of the step-by-step PowerPoint tutorial hosted on learn.microsoft.com.", + "url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/tutorials/powerpoint-tutorial-yo", + "longDescription": [ + "The tutorial gives step-by-step instructions on how to add functionality alongside explanations as to why code is being added. Use this sample if you want to explore and try the completed code, or if you need to debug any issues you may have encountered while following the tutorial." + ], + "creationDateTime": "2023-09-25", + "updateDateTime": "2023-09-25", + "products": [ + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "JavaScript" + } + ], + "thumbnails": [ + { + "type": "Image", + "order": 100, + "url": "https://learn.microsoft.com/office/dev/add-ins/images/powerpoint-tutorial-yo-add-slides.png", + "alt": "The Add Slides button highlighted in the add-in in a PowerPoint presentation." + } + ], + "authors": [ + { + "gitHubAccount": "microsoft", + "pictureUrl": "https://github.com/microsoft.png", + "name": "Microsoft" + } + ], + "references": [ + { + "name": "Tutorial: Create a PowerPoint task pane add-in", + "description": "Build a PowerPoint add-in that inserts an image, inserts text, gets slide metadata, and navigates between slides.", + "url": "https://learn.microsoft.com/office/dev/add-ins/tutorials/powerpoint-tutorial?tabs=yeomangenerator" + } + ] + } + ] \ No newline at end of file diff --git a/Samples/tutorials/powerpoint-tutorial/assets/sample.json b/Samples/tutorials/powerpoint-tutorial/assets/sample.json new file mode 100644 index 000000000..9f75bb590 --- /dev/null +++ b/Samples/tutorials/powerpoint-tutorial/assets/sample.json @@ -0,0 +1,46 @@ +[ + { + "name": "office-powerpoint-add-in-tutorial", + "reponame": "office-add-in-samples", + "source": "officedev", + "title": "PowerPoint Tutorial (Visual Studio) - Completed", + "shortDescription": "A completed version of the step-by-step PowerPoint tutorial hosted on learn.microsoft.com.", + "url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/tutorials/powerpoint-tutorial", + "longDescription": [ + "The tutorial gives step-by-step instructions on how to add functionality alongside explanations as to why code is being added. Use this sample if you want to explore and try the completed code, or if you need to debug any issues you may have encountered while following the tutorial." + ], + "creationDateTime": "2023-09-19", + "updateDateTime": "2023-09-19", + "products": [ + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "JavaScript" + } + ], + "thumbnails": [ + { + "type": "Image", + "order": 100, + "url": "https://learn.microsoft.com/office/dev/add-ins/images/powerpoint-tutorial-add-slides-1.png", + "alt": "The Add Slides button highlighted in the add-in in a PowerPoint presentation." + } + ], + "authors": [ + { + "gitHubAccount": "microsoft", + "pictureUrl": "https://github.com/microsoft.png", + "name": "Microsoft" + } + ], + "references": [ + { + "name": "Tutorial: Create a PowerPoint task pane add-in", + "description": "Build a PowerPoint add-in that inserts an image, inserts text, gets slide metadata, and navigates between slides.", + "url": "https://learn.microsoft.com/office/dev/add-ins/tutorials/powerpoint-tutorial?tabs=visualstudio" + } + ] + } + ] \ No newline at end of file diff --git a/Samples/tutorials/word-tutorial/My Office Add-in/assets/sample.json b/Samples/tutorials/word-tutorial/My Office Add-in/assets/sample.json new file mode 100644 index 000000000..db36a3035 --- /dev/null +++ b/Samples/tutorials/word-tutorial/My Office Add-in/assets/sample.json @@ -0,0 +1,46 @@ +[ + { + "name": "office-word-add-in-tutorial", + "reponame": "office-add-in-samples", + "source": "officedev", + "title": "Word Tutorial - Completed", + "shortDescription": "A completed version of the step-by-step Word tutorial hosted on learn.microsoft.com.", + "url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/tutorials/word-tutorial", + "longDescription": [ + "The tutorial gives step-by-step instructions on how to add functionality alongside explanations as to why code is being added. Use this sample if you want to explore and try the completed code, or if you need to debug any issues you may have encountered while following the tutorial." + ], + "creationDateTime": "2023-09-20", + "updateDateTime": "2023-09-20", + "products": [ + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "JavaScript" + } + ], + "thumbnails": [ + { + "type": "Image", + "order": 100, + "url": "https://learn.microsoft.com/office/dev/add-ins/images/word-tutorial-insert-image-html-table-2.png", + "alt": "Results of choosing the Insert Image, Insert HTML, and Insert Table add-in buttons in a Word document." + } + ], + "authors": [ + { + "gitHubAccount": "microsoft", + "pictureUrl": "https://github.com/microsoft.png", + "name": "Microsoft" + } + ], + "references": [ + { + "name": "Tutorial: Create a Word task pane add-in", + "description": "Build a Word add-in that inserts and replaces text ranges, paragraphs, images, HTML, tables, and content controls. You'll also learn how to format text and how to insert and replace content in content controls.", + "url": "https://learn.microsoft.com/office/dev/add-ins/tutorials/word-tutorial" + } + ] + } + ] \ No newline at end of file diff --git a/Samples/word-citation-management/assets/sample.json b/Samples/word-citation-management/assets/sample.json new file mode 100644 index 000000000..b1ef7df9e --- /dev/null +++ b/Samples/word-citation-management/assets/sample.json @@ -0,0 +1,46 @@ +[ + { + "name": "word-citation-management", + "reponame": "office-add-in-samples", + "source": "officedev", + "title": "Manage citations in a Word document", + "shortDescription": "Shows how to manage citations in a Word document.", + "url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/word-citation-management", + "longDescription": [ + "This sample shows how to manage citations in Word with an add-in. The add-in uses the insertEndnote API to list inserted citations at the end of the document." + ], + "creationDateTime": "2023-11-28", + "updateDateTime": "2023-11-28", + "products": [ + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "JavaScript" + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://github.com/OfficeDev/Office-Add-in-samples/blob/main/Samples/word-citation-management/assets/word-citation-management.png", + "alt": "The citation management add-in task pane." + } + ], + "authors": [ + { + "gitHubAccount": "microsoft", + "pictureUrl": "https://github.com/microsoft.png", + "name": "Microsoft" + } + ], + "references": [ + { + "name": "Manage citations in a Word document using your Word add-in", + "description": "Create an add-in that manages citations in a Word document.", + "url": "https://learn.microsoft.com/office/dev/add-ins/word/citation-management" + } + ] + } +] \ No newline at end of file