feat: Can pass some params to iframe src after publish as a public chat app. #1362

Closed
opened 2026-02-21 17:32:44 -05:00 by yindo · 0 comments
Owner

Originally created by @listeng on GitHub (Mar 14, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

We want to embed a chat app in our website, and answer from difference content in each page.

2. Describe the feature you'd like to see

Can a parameter pageid=xxx be passed in the URL or through window.difyChatbotConfig when it is published as

Originally created by @listeng on GitHub (Mar 14, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? We want to embed a chat app in our website, and answer from difference content in each page. ### 2. Describe the feature you'd like to see Can a parameter pageid=xxx be passed in the URL or through window.difyChatbotConfig when it is published as <iframe src="http://xxx.com/chatbot/xxxxxx">? For example, <iframe src="http://xxx.com/chatbot/xxxxxx?pageid=xxx">, where this pageid can be passed to the api-based tool configured in this bot. The api-based tool uses the pageid to fetch some data, which then serves as reference data for the chat bot to answer. ### 3. How will this feature improve your workflow or experience? After that, we won't need to create a knowledge base for each page (which would be a large number) but instead, use the current page's content as the context. ### 4. Additional context or comments _No response_ ### 5. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 17:32:44 -05:00
yindo closed this issue 2026-02-21 17:32:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1362