I'd like to default an output format's lang to en and to have it set as en, so someone does not need to go through the picklist or type it in.
Is there a way of doing this?
I'd like to default an output format's lang to en and to have it set as en, so someone does not need to go through the picklist or type it in.
Is there a way of doing this?
Hi Mario,
You should be able to do this by implementing/change the following value element
<value overwrite="yes" ishcondition="CreateReason = 'NewObject'">en</value>
structure in the metadataconfig.xml file for the field
<ishfrmfield name="PublicationOutput.LanguageField" ishfieldref="FISHPUBLNGCOMBINATION"...
The value element allows to assign/clean out the value of the property when the dialogs get opened.
So playing with the ishcondition will enable you to get the 'en' value preselected at the correct dialog invocation.
You can find the metadataconfig.xml file in the '<drive-letter>:\Infoshare\web<project-suffix>\author\asp\clientconfig' folder of an installed environment.
Kind Regards,
Raf
Thanks Raf for the answer. Glad to hear from you.
Thanks Raf for the answer. Glad to hear from you.