# Retaining document ID after document vector applier

**URL:** <https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444>\
**Category:** KNIME Analytics Platform\
**Tags:** text-mining\
**Created:** [February 18, 2026, 12:34am UTC](https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444 "2026-02-18T00:34:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ace2131](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@ace2131](https://forum.knime.com/u/ace2131)\
**Post date:** [February 18, 2026, 12:34am UTC](https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444/1 "2026-02-18T00:34:25Z")

</div>

How do I retain my original ID (not row ID) after document vector applier?

I have a string column which I have converted to document using strings to document.

String to document → Dictionary Replacer → Bag of words creator → Term to string → Document vector → Document vector applier.

I loose my ID after Document Vector applier.

Can someone help?

Thanks

---

<div class="post-metadata">

**Author:** ![k10shetty1](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/k/c57346/32.png) [@k10shetty1](https://forum.knime.com/u/k10shetty1)\
**Post date:** [March 10, 2026, 5:08pm UTC](https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444/2 "2026-03-10T17:08:46Z")

</div>

@ace2131 Could you share an example workflow with some dummy data so we can reproduce the issue and better understand how to help?

---

<div class="post-metadata">

**Author:** ![ace2131](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@ace2131](https://forum.knime.com/u/ace2131)\
**Post date:** [March 11, 2026, 8:19am UTC](https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444/3 "2026-03-11T08:19:48Z")

</div>

HI, I solved it.

So basically, when you create a document, only strings are allowed as meta variables. So i converted my Id into a string and made it pass through. At later stage, I converted ID back into number.

Thanks

---

<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:** [March 18, 2026, 8:20am UTC](https://forum.knime.com/t/retaining-document-id-after-document-vector-applier/91444/4 "2026-03-18T08:20:03Z")

</div>

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