SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have developed a custom edit form with an external item picker as application page in visual studio. The picker is populated with data using the following method.

private ItemPickerExtendedData GetExtendedData(string lobInstanceName, string entityName, string entityNamespace, string titleFieldName,
        string secondaryColumnName)
        ItemPickerExtendedData data = new ItemPickerExtendedData 
            SystemInstanceName = lobInstanceName,
            EntityName = entityName,
            EntityNamespace = entityNamespace,
            PrimaryColumnName = titleFieldName

            data.SetSecondaryColumnNames(new[] { secondaryColumnName });

        return data;           

The picker should now display in it´s textfield the foreign item that is referenced by the currently edited item. E.g., if I edit a bill that is connected with a customer, I should see the customer that has currently been associated with the bill and saved as foreign key in the database.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.