Invalid Binding error in Attachment dialog for Offering Catalog

January 7, 2016 VincentLo

In IBM Control Desk, you can create custom presentation dialog for Offering Catalog. This custom presentation dialog's XML definition is in pmscoffer.xml. The custom presentation dialog normally looks like this :-

<dialog beanclass="com.ibm.ism.pmsc.webclient.beans.shoppingcr.PmScInputSpecBean" headercss="pmscoffcat_dialog_header" id="defaultDialogCR" label="{0}" labelcss="pmscoffcat_dialog_header" relationship="PMSCCRSPEC">
...
...
...

</dialog>

 

Do take note that the id="defaultDialogCR" is a default dialog (Out-Of-The-Box). If it is custom presentation dialog, you can identify from the different id name.

 

When configuring custom presentation dialog for Offering Catalog, a small overlook may cause the Attachment dialog (View Attachments / Create a File Attachment) to have invalid binding errors.

*The example shown in this blog is using default dialog (id="defaultDialogCR") where issue normally does not occur as it is correctly setup by default. However, the XML lines being mentioned exist in all IBM Control Desk 7.5.3 environment so you can have a look at the whole dialog XML definition.

For example :-

 

(a) View Attachments dialog

image

 

(b) Create a File Attachment dialog

image

 

This is caused by using invalid data source reference for the attachment e.g.

*WRONG*

<sectioncol datasrc="defCR_sr2_datasrc_2" id="defCR_sc1_sec3_sc1_s1_sc3" sigoption="SHOWUSERATT">
   <attachments align="left" event="drviewattachments" id="defCR_sr2_attach" label="User Provided Attachments" labelcss="pmscoffcat_text_node" menutype="drattachments"/>
</sectioncol>

 

If you look at the datasrc definition defined few lines above, it is "defCR_sr2_datasrc" e.g.

<datasrc beanclass="com.ibm.ism.pmsc.webclient.beans.shoppingcr.PmScExtendedTooltipBean" id="defCR_sr2_datasrc" relationship="SR"/>

 

You need to correct the data source reference for the attachment e.g.

*CORRECT*

<sectioncol datasrc="defCR_sr2_datasrc" id="defCR_sc1_sec3_sc1_s1_sc3" sigoption="SHOWUSERATT">
   <attachments align="left" event="drviewattachments" id="defCR_sr2_attach" label="User Provided Attachments" labelcss="pmscoffcat_text_node" menutype="drattachments"/>
</sectioncol>

 

Once this is corrected, it will resolve the error of Invalid Binding in Attachment dialog for Offering Catalog.

 

Previous Article
Hello, Is there anyone out there??

No, this is not Lionel Richie or Adele, It's just me wondering if anyone out there will read this and help ...

Next Article
Lets turn on lights with Maximo...
Lets turn on lights with Maximo...

It's been awhile since my last blog and I wanted to get something different posted then what I usually woul...

×

Want our latest news? Subscribe to our blog!

Last Name
First Name
Thank you!
Error - something went wrong!