How can i disable the transformer service behaviour when i create or update a node on java code ?

cancel
Showing results for 
Search instead for 
Did you mean: 
4535992
Senior Member

How can i disable the transformer service behaviour when i create or update a node on java code ?

Jump to solution

I need to disable the call to transformers in a specific piece of java code how can I do it ?

I know I have to disable the behaviour, but I am misconfiguring .....

            // Disable the behaviour which prevents the call to the transformers.
            behaviourFilter.disableBehaviour(myNode, <WHAT I PUT HERE ??>);
            try
            {
               <MY CODE FOR CREATE AND UPDATED NODE>
            }
            finally
            {
                behaviourFilter.enableBehaviour(myNode, <WHAT I PUT HERE ??>);
            }

any suggestion ? or alternative solution ?

1 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: How can i disable the transformer service behaviour when i create or update a node on java code

Jump to solution

There is no behaviour for that.

Why do you want to disable the call to the Transform Service?

Hyland Developer Evangelist

View solution in original post

2 Replies
angelborroy
Alfresco Employee

Re: How can i disable the transformer service behaviour when i create or update a node on java code

Jump to solution

There is no behaviour for that.

Why do you want to disable the call to the Transform Service?

Hyland Developer Evangelist
4535992
Senior Member

Re: How can i disable the transformer service behaviour when i create or update a node on java code

Jump to solution

Is a strange use case of mine for aovid a conflict between multiple actions, but if it can't be done, it doesn't matter