Skip to content

Instantly share code, notes, and snippets.

@davecra
Created November 10, 2023 03:11
Show Gist options
  • Save davecra/b59bfd0aa4c5f13c76c8f3a9569022ec to your computer and use it in GitHub Desktop.
Save davecra/b59bfd0aa4c5f13c76c8f3a9569022ec to your computer and use it in GitHub Desktop.
Creates a new reference for a Planner Task Attachment
const ref = {
/** @type {PlannerReference} */
[this.#encodePlannerExternalReferenceUrl(driveItem.webUrl)]: {
"@odata.type": "#microsoft.graph.plannerExternalReference",
alias: name,
type: "Other",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment