# Add Object to Vertex from Workshop Widget

**URL:** <https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962>\
**Category:** Ask the Community\
**Tags:** vertex, workshop\
**Created:** [February 22, 2025, 10:08pm UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962 "2025-02-22T22:08:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![willstone](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/willstone/32/1043_2.png) [@willstone](https://community.palantir.com/u/willstone)\
**Post date:** [February 22, 2025, 10:08pm UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962/1 "2025-02-22T22:08:59Z")

</div>

Hi There 🙂

Suppose I have a workshop app with a vertex graph and an object list. I’d like to be able to add an object that is displayed in the object list right to the vertex graph (ie without using the “add objects” search functionality in vertex). Is this currently possible?

Thanks

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://community.palantir.com/u/eric)\
**Post date:** [February 23, 2025, 12:35am UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962/2 "2025-02-23T00:35:13Z")

</div>

In terms of an out-of-the-box interaction to get an object in the object list to the vertex graph, there currently isn’t one (e.g. dragging an object from the list into the vertex widget). However, there are a couple low lift set-ups that you can use to get this functionality.

For example, you can have an Action that takes the Active object in the Object List and adds it to the Object Set that is backing the Vertex widget. You can then trigger this Action with something like a Button with “Hide form and apply immediately if valid” toggled on for a pretty smooth workflow of 1) click on object in list, 2) click on button to add it to Vertex.

---

<div class="post-metadata">

**Author:** ![TJS](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@TJS](https://community.palantir.com/u/TJS)\
**Post date:** [February 23, 2025, 8:46pm UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962/3 "2025-02-23T20:46:00Z")

</div>

There’s an “Add objects to subgraph” under the interaction sub-heading of the widget config. Any objects added to this object set will get added to the graph, so if you just want to add the selected object in a list, you can set this to the lists’s “Active Object” set.

 ![CleanShot 2025-02-23 at 13.44.22@2x](https://canada1.discourse-cdn.com/palantir/original/2X/8/830d5cac70600a5b0b21d5f2f5426e00eaea61bd.jpeg)

---

<div class="post-metadata">

**Author:** ![willstone](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/willstone/32/1043_2.png) [@willstone](https://community.palantir.com/u/willstone)\
**Post date:** [February 27, 2025, 11:52am UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962/4 "2025-02-27T11:52:44Z")

</div>

Struggling with two things here:

1. Doing a generic object set merge. There are several different object types in my graph, and I am struggling to write a function that can merge any of of those types into an objectset with many different possible types
2. If I update the object set that defines the graph, won’t it re-render the whole graph?

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [April 28, 2025, 11:52am UTC](https://community.palantir.com/t/add-object-to-vertex-from-workshop-widget/2962/5 "2025-04-28T11:52:45Z")

</div>

Closed on April 28, 2025, 11:52am UTC

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