Tag Info

Hot answers tagged

10

Thus far, using the object model has been the only way I have been able to successfully do this. I encountered the same issues as you when using PowerShell. Using Jaspers' post SP2010: Setting BCS column and related fields as my guide, I used the following code to iterate through all the items in my Resumes document library, read the value from the ...


3

You can not allow multi values when using a lookup to a external list. More info about BCS and its limitations can be fount at: http://www.slideshare.net/orbitone/share-point-2010-bcs http://www.sharepointanalysthq.com/2010/07/bcs-external-list-limitations Maybe, you could be able to work around this issue using custom field types for example. But not ...


2

Yes you can have n number of attachments by using streamaccessor method. See the code below that has two methods. One for picking up the main document and other for picking up the additional document. In the code behind you can use the same function to return the stream object. Let me know if you need any further assistance as I have already implemented this ...


1

Unfortunately SharePoint Designer doesn't support connecting to Oracle database. So you may follow one of the following approaches: 1.Manually create a BDC Model for Connecting to Oracle Databases from the beginning How to: Connect to an Oracle Database Using Business Connectivity Services 2.Create a Web service to provide an interface to the external data ...


1

Andrzej, SPD2010 may need local admin rights to create this connection, it was the case in my setup anyway. What I did is I have created External Content Type with a logged on user who is a member of local administrators on the SQL server, I haven't had time to get to the bottom of this but it worked. I will update this answer as soon as I get this sorted ...


1

I had the following problem (I think that's the same as you): I have a document library with an external content type column. If I create the column after I associated the document content types all goes well. I can access the external data from within Word. If I add another document content type after I've created the external data column, I can manually ...


1

I believe you need to implement a filter descriptor on your entity associated with the "Short Name" type descriptor. You would then set the filter with the IsDefault and UsedForDisambiguation custom properties as shown in the snippet below. That tells the picker control to use the filter for name resolutions as opposed to the entity identifer, which it uses ...


1

I ran into the same problem you had if I understand you correctly. I solved it by using the CredentialManagementUrl property of the SecureStoreCredentialsNotFoundException that is thrown. The URL points to an input page where the user can enter their credentials. Like so: try { credentials = PipeChainCredentials.GetCredentials(); } catch ...


1

If I understand correctly you can create an EventReceiver, that will be triggered by ItemAdded and perform required interactions with BDC, no additional actions from user is required. Links: http://farhanfaiz.wordpress.com/2007/12/31/creating-adding-an-event-handler/ ...


1

Make sure that the paths are valid and accessible. In my case the hostname could not be able to resolved, even I have written the address without hostname. Since I was using a WCF service and deployed in some other server, the metadata link was created with hostname. Even you write the metadata and endpoint addresses with ip, the service might access the ...


1

Well it depends? It can be checked in your data source (within the database / stored proc / WCF) which is where it should be as that's business logic that's domain specific. You ~could~ implement it in your custom operators, but I'm not sure that's a good idea as the reuse isn't there (if other apps are using the same data source).


1

You will have to be a bit more precise. BDC fields are used in many places and can be defined in many ways: application definitions, user profiles, lists, lobsystems in web parts etc. below is an example on how to instantiate a BDC field in an SPList, as this is something that usually causes a bit of trouble: SPListItem item = someList.Items.Add(); // ...


1

When you set up BDC as a secondary data source for your user profiles, you need to have a unique identifier to connect AD and database (usually initials or similar). That one field is mapped against the AD, but you can extract as many fields as you want from database. Use 1:1 when you have an exact match (like mail or initials), use 1:many if you are ...


1

Not really as the BDC is entirely based on the definition. However you can use a SQL alias and change the alias to point to a different server. For more information on how to setup an alias there's a good writeup here: http://www.mssqltips.com/tip.asp?tip=1620



Only top voted, non community-wiki answers of a minimum length are eligible