microsoft / microsoft/CopilotStudioSamples

Infinite Loading Loop

Open
#229 2 comments 0 reactions 1 assignee View on GitHub

@adilei is already working on this.

Since Aug 10, 2024.

SharePointSSOComponent
Dominant language
TypeScript
Stars
797
Forks
491
PR merge metrics
No merged PRs in 30d

Description

I have followed all of the steps in the document on GitHub CoPilot Studio Samples and have run into an infinite loading screen on when clicking on the button generated in our SharePoint page, I feel as though all of the information in the elements file is correct (In step 3 I chose Option 2: manually replace placeholders in elements.xml with actual values. ClientSideComponentProperties accepts an escaped JSON string.)

When inspecting the console on the webpage, these errors are found: “invalid contentSourceFilter config” and “Unsafe attempt to initiate navigation for frame with origin ‘https://...’ from frame with URL 'https://…' The frame attempting navigation of the top-level window is sandboxed, but the flag of ‘allow-top-navigation’ or ‘allow-top-navigation-by-user-activation is not set.”

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.