# Specify JobID when embeding job in iframe

**URL:** <https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765>\
**Category:** KNIME Server\
**Created:** [August 2, 2024, 12:05pm UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765 "2024-08-02T12:05:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Willem](https://forum-cdn.knime.com/user_avatar/forum.knime.com/willem/32/73426_2.png) [@Willem](https://forum.knime.com/u/Willem)\
**Post date:** [August 2, 2024, 12:05pm UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/1 "2024-08-02T12:05:19Z")

</div>

Hi,  
I am looking at starting a job via REST API call from C# code. Then once the job has been created, can it be embeded into an iframe?

---

<div class="post-metadata">

**Author:** ![wkhan](https://forum-cdn.knime.com/user_avatar/forum.knime.com/wkhan/32/20159_2.png) [@wkhan](https://forum.knime.com/u/wkhan)\
**Post date:** [August 9, 2024, 12:31am UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/2 "2024-08-09T00:31:35Z")

</div>

Hi Willem,

You’d likely run into CORS issues trying to dynamically create and embed an iframe manually. You can embed the Data App as an iframe using the [embedded apps framework](https://docs.knime.com/latest/webportal_user_guide/index.html#embedded-webapps) with the KNIME Server.

Regards,  
Wali Khan

---

<div class="post-metadata">

**Author:** ![Willem](https://forum-cdn.knime.com/user_avatar/forum.knime.com/willem/32/73426_2.png) [@Willem](https://forum.knime.com/u/Willem)\
**Post date:** [August 23, 2024, 7:20am UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/3 "2024-08-23T07:20:31Z")

</div>

Hi Wali,

The issue is not CORS, I know about that but it is not an issue as all is in the same domain. The issue we have is the limitation of KNIME where you cannot have a shared component in the workflow and have the option on KNIME Server set to check and update shared components, and HUB has the same issue, only thing is you can set specific deployment to not check shared components.  
So I was experimenting with the idea if I could start the job via API, thus get the shared component validation done at that stage and then embed the specific job into an iFrame. But I am having issues to specify the job when embedding the workflow into an iframe. I once was able to start a workflow via an iframe and then later specify that job id as to load the job into the iframe, but I cannot find the code where I did it and cannot remember what the iframe src url was to specify the job.

---

<div class="post-metadata">

**Author:** ![wkhan](https://forum-cdn.knime.com/user_avatar/forum.knime.com/wkhan/32/20159_2.png) [@wkhan](https://forum.knime.com/u/wkhan)\
**Post date:** [September 3, 2024, 3:50pm UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/4 "2024-09-03T15:50:32Z")

</div>

Hi Willem

Sorry for a delayed reply from me, but thanks for clarifying. I’ll have to double check this internally.

Regards,  
Wali Khan

---

<div class="post-metadata">

**Author:** ![Willem](https://forum-cdn.knime.com/user_avatar/forum.knime.com/willem/32/73426_2.png) [@Willem](https://forum.knime.com/u/Willem)\
**Post date:** [October 2, 2024, 5:34am UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/5 "2024-10-02T05:34:03Z")

</div>

Hi Wali,

Just keeping this post alive by asking for any update on this post.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 31, 2024, 5:34am UTC](https://forum.knime.com/t/specify-jobid-when-embeding-job-in-iframe/81765/6 "2024-12-31T05:34:50Z")

</div>

Closed on December 31, 2024, 5:34am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
