Kama wewe ni mkono-coding files ADF na kufanya mengi ya kanuni / kuagiza / mtihani mizunguko, use the version number to make your life easier.
I hate kukubali hilo, lakini mpaka wiki hii, I was always deleting the ADF and re-importing it. This would break my business data columns and make me re-wire them. All unnecessary.
File this under "it’s obvious once you see it".
Mfano:
<LobSystem
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd" Aina="Webservice" Toleo="1.2.0.0" Jina="xyzzyDocumentReview" xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
Change that version and re-import and the existing business data column uses the updated version automatically with no additional configuration required.
</mwisho>
Tags technorati: BDC
Paulo, to that point. I am getting the following error with an ADF I’m trying to import into MOSS 2007 Enterprise:
"Application definition import failed. makosa yafuatayo ilitokea: Setting IsCollection on TypeDescriptor with Name ‘ProductDataRecord’ and Id ‘<unavailable>’ (belonging to Parameter with Name ‘Contacts’ and Id ‘110’) will create two consecutive parent-child TypeDescriptors that have ‘IsCollection’ kuweka. Collection TypeDescriptors may only have a single child TypeDescriptor, anayewakilisha muundo wa kila kipengele wa ukusanyaji. Parameter jina: Hitilafu isCollection lilipatikana katika au kabla tu Line: '88’ na Msimamo: ’16’. " Hapa ni Ubeti kutoka xml yangu ni kulalamika juu ya:
<Parameter Direction="Return" Name="Contacts">
<TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Toleo = 2.0.3600.0, Utamaduni = neutral, PublicKeyToken = b77a5c561934e089" IsCollection="true" Name="ProductDataReader">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Toleo = 2.0.3600.0, Utamaduni = neutral, PublicKeyToken = b77a5c561934e089" IsCollection="true" Name="ProductDataRecord">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" IdentifierName="tp_ID" Name="tp_ID">
<LocalizedDisplayNames>
<LocalizedDisplayName LCID="1033">tp_ID</LocalizedDisplayName>
</LocalizedDisplayNames>
<Mali>
<Property Name="DisplayByDefault" Type="System.Boolean">kweli</Mali>
</Mali>
</TypeDescriptor>
Mimi kufunga TypeDescriptors wangu kuelekea mwisho wa faili. Mimi uhakika matumaini wewe au mtu huko nje ana mawazo ya nini kinaendelea hapa? Mimi nina toast juu ya hili. Msaada wowote au hatua katika mwelekeo sahihi itakuwa kupendwa sana.
Shukrani,
Bruce