How to set default mimetype for custom models

cancel
Showing results for 
Search instead for 
Did you mean: 
douglascrp
Advanced II

Re: How to set default mimetype for custom models

Jump to solution

You must be doing something wrong, as I tested this code myself before sending it to you.

Please, share your rule configuration screen after you applied what I mentioned.

udayakumar_p
Active Member

Re: How to set default mimetype for custom models

Jump to solution

Hi,

I mentioned it is working.

douglascrp
Advanced II

Re: How to set default mimetype for custom models

Jump to solution

Ah , sorry

udayakumar_p
Active Member

Re: How to set default mimetype for custom models

Jump to solution

Can you help me with this query?

How to access the object type id(cmisSmiley SurprisedbjectTypeId) from javascript?

i tried something like document.properties.type.

but it does not work.

douglascrp
Advanced II

Re: How to set default mimetype for custom models

Jump to solution

Yes. The following will give you what you need:

document.typeShort;

But please, next time, for a different topic, start a new thread.

udayakumar_p
Active Member

Re: How to set default mimetype for custom models

Jump to solution

Thanks

udayakumar_p
Active Member

Re: How to set default mimetype for custom models

Jump to solution

Hi,

This script is working in 5.2.2 but not in 5.0.2. Any idea? Is there any change with respect to implementation?