# Node-RED package Subflow module edit or view

**URL:** <https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383>\
**Category:** Developing Nodes\
**Created:** [29 September 2022 10:49 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383 "2022-09-29T10:49:10Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [29 September 2022 10:49 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/1 "2022-09-29T10:49:10Z")

</div>

How to edit or view the subflow, packaged as module and imported into flows.  
Currently unable to edit the subflow which is imported as package module

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 September 2022 10:52 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/2 "2022-09-29T10:52:35Z")

</div>

if a subflow is packaged then it is now a module and the innards cannot be edited.

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [29 September 2022 10:56 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/3 "2022-09-29T10:56:49Z")

</div>

can it be viewed atleast, if not edit

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [29 September 2022 12:44 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/4 "2022-09-29T12:44:47Z")

</div>

No it cannot be edited or viewed.

The purpose of publishing it as a module is to hide all of the internal details from the end user - it appears just like any other node they have installed.

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [30 September 2022 03:51 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/5 "2022-09-30T03:51:00Z")

</div>

okay Thank you..

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [30 September 2022 06:29 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/6 "2022-09-30T06:29:43Z")

</div>

Cross posted on Stack Overflow

> <https://stackoverflow.com/questions/73893659/node-red-how-to-edit-the-subflow-which-is-packaged-as-module-and-imported-into/73894192#73894192>

---

<div class="post-metadata">

**Author:** ![Sztt](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sztt](https://discourse.nodered.org/u/Sztt)\
**Post date:** [4 October 2022 11:48 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/7 "2022-10-04T11:48:09Z")

</div>

i am surprised to see your problem, i catched the same problem last month. The way is to package the subflow as a module , but i cannot finish it successfully.

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [17 October 2022 05:20 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/8 "2022-10-17T05:20:51Z")

</div>

I was able to package it successfully, but problem is not able to view or edit it, not as a user, as an owner of that module I should be able to view or edit rit.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 October 2022 08:37 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/9 "2022-10-17T08:37:30Z")

</div>

> [@Dikshitha](#):
>
> but problem is not able to view or edit it, not as a user, as an owner of that module I should be able to view or edit rit

No, the subflow, once packaged is essentially closed ...

> [@knolleary](#):
>
> No it cannot be edited or viewed.

> [@knolleary](#):
>
> The purpose of publishing it as a module is to hide all of the internal details from the end user - it appears just like any other node they have installed

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [17 October 2022 08:51 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/10 "2022-10-17T08:51:41Z")

</div>

for end user it is fine, but the owner who has packaged it cannot view or edit it

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 October 2022 08:52 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/11 "2022-10-17T08:52:36Z")

</div>

> [@Dikshitha](#):
>
> the owner who has packaged it cannot view or edit it

That is by design.

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [17 October 2022 08:53 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/12 "2022-10-17T08:53:43Z")

</div>

yes by design not manually with JSON file

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [17 October 2022 09:01 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/13 "2022-10-17T09:01:40Z")

</div>

> [@Dikshitha](#):
>
> the owner who has packaged it cannot view or edit it

But the owner who created it will have the original flow JSON and be able to edit that and then repackage it as needed.

Otherwise you are suggesting that somehow the editor should know you are the person who published a particular module to npm, and then give you special abilities that no other user gets. That isn't very practical to do.

---

<div class="post-metadata">

**Author:** ![Dikshitha](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Dikshitha](https://discourse.nodered.org/u/Dikshitha)\
**Post date:** [17 October 2022 09:13 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/14 "2022-10-17T09:13:13Z")

</div>

okay thanks for the clarification..

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 December 2022 09:13 UTC](https://discourse.nodered.org/t/node-red-package-subflow-module-edit-or-view/68383/15 "2022-12-16T09:13:36Z")

</div>

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