Swap citations sample missing clickable PDF links and limited to one SharePoint site
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start with the swap-citations.yml sample used by the OnGeneratedResponse topic and reproduce the behavior with a SharePoint PDF as described. Check how the externalWebsiteURL is used and how citations are formed across sites. Done means PDF citations link to their referenced pages and the YAML configuration supports multiple SharePoint sites.
Written by the indexing model from the issue text.
Description
What sample tool are you using?
'OnGeneratedResponse' – AI response generated citation swap
Describe the bug
The sample does not generate clickable citations that link directly to specific page numbers in PDF documents. Additionally, the 'swap-citations.yml' configuration appears to be limited to a single SharePoint site, which restricts scalability across multiple sites.
To Reproduce
Steps to reproduce the behavior:
- Copy the 'swap-citations.yml' code
- Go to your custom Copilot Studio agent with Generative Orchestration enabled.
- Upload an internal pdf document from a SharePoint site of around 7 MB to the knowledge source.
- Create a new topic named 'AI Response Generated' and paste the code from Step 1 in code editor.
- Update the variable "externalWebsiteURL" to reflect your internal SharePoint URL, including the directory that contains this document.
- Save the topic and test the solution.
- The responses are generated with clickable citations that don't point to the specific page.
Expected behavior
Citations should be clickable and link directly to the referenced page numbers in PDF documents. The YAML configuration should support multiple SharePoint sites to enable broader document coverage.
Additional context
This enhancement would significantly improve traceability and usability of AI-generated responses in enterprise environments where documents are distributed across multiple SharePoint sites.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/CopilotStudioSamples
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
SharePointSSOComponent
microsoft/CopilotStudioSamples#537 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#532 · 1 comment ·
-
Unable to Deploy SPFx Agent to a Single SharePoint Site (Works Only with Tenant-Wide Deployment) Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#531 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in microsoft/CopilotStudioSamples
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD Opencheck:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
i-am-bee/beeai-framework#1697 · 1 reaction ·
-
Support bun dedupe Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
antfu/node-modules-inspector#214 ·