getContent Part

Hi,

I’m a rookie to wM. I would like to know how to use getContent part service.

Thanks,
Pranesh

Pranesh,

As mentioned in the documentation, you have to pass “bizdoc” and partName(content part name) to “wm.tn.doc:getContentPart” service. You can simply pass the bizdoc document you received as an input to the service which gets called by processing rule. Now if you are trying to get the content part from an indivisual service which doesn’t have bizdoc document then you have to get the first before calling “wm.tn.doc:getContentPart”. You can use “wm.tn.doc:viewAs” to get bizdoc document.

Hello Khan,

Thanks for your reply. I’ll try that and get back to you.

Regards,
Pranesh

Khan,

Your guidance to use getcontentpart works fine. :slight_smile:

Thanks,
Pranesh

Glad it worked