Skip to Content

create node based on the existens of 2 other nodes in UDF

Hi Guys

I want to create Item node only based on the existence of node let say Node1 and the field F1 which is under Node1.

--- Node1 exists and F1 ----- exists than create the Item node.

F1 is in the context of Node1.

I have tried many things including UDF but the result is unpredictable

please help

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2016 at 10:02 AM

    Hi Samer,

    try using the count-function. If I understand it correctly, you'll only want to create target node if all source nodes have Field1.

    That way, you compare the number of node-elements with field-elements. If they don't match, the target doesn't get created.

    Regards

    Thomas


    mapping.png (8.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 06, 2016 at 08:26 AM

    Hi Samer,

    I want to create Item node only based on the existence of node let say Node1 and the field F1 which is under Node1.

    Just check for the existence of fieldF1, after all when F1 exists it is already implied that Node1 exists 😊

    Regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.