Message Boards

Is it possible to publish a particular field only if there is a value?

Stephane David, modified 3 Years ago.

Is it possible to publish a particular field only if there is a value?

Post Date: 9/21/13 (Bronze, 7 Posts) Recent Posts

Hello,

In QXtend, is it possible to publish a particular field in a qdoc only if there is a value?

The requirement would be if value null then the field is not put in a message generated from QXO to QXI but if not null then publish a paricular field from QXO to go into a QXI qdoc.

Thank you.

Regards

Stephane David

thumbnail
Nathan Beste, modified 12 Years ago.

Re: Is it possible to publish a particular field only if there is a value?

Post Date: 4/24/14 (Bronze, 1 Post) Recent Posts
You can have "Delta only" qDocs that will only publish fields that change, but that would not give flexibility to only publish fields that are non-blank. I don't think calculated fields would fit this requirement either.

Your best option for this might be to implement a pre-processor program on the QXI side that steps through the qDoc and removes nodes that have blank values.

Message place holder