locked
cross-web lookup column is blank RRS feed

  • Question

  • When trying to lookup a value cross-web (child to parent) the lookup is blank, there is nothing to pick from. No error is thrown.

    I have this configuration...

    A root web site called ParentWeb containing:
    - a List called 'Accounts' 
    - a Lookup column called 'AccountCol' (that references Accounts List)
    - a sub-site called 'ChildWeb'

    ChildWeb contains a Document Library that includes the AccountCol column/field.

    Notes:
    Content Type extends default Document Content Type.
    Both sites are based on Team Site template.
    All the above items are in web scoped features.
    Using SP 2013 & Visual Studio 2012
    Latest CU's are installed.

    When I implement this configuration via the GUI it work perfectly, that is,  when I create a new document in the ChildWeb document Library I can select an Account from the lookup select box. It is only when I try this scenario with solution packages in VS that it fails and the lookup select box is empty.

    Can someone please offer a solution of even some insite into this issue?


    • Edited by Russell Munro Wednesday, July 31, 2013 4:10 AM fix mistake in config description
    Tuesday, July 30, 2013 12:27 AM

Answers

  • Found the problem: AccountCol field must have Overwrite="True"

    • Marked as answer by Qiao Wei Thursday, August 8, 2013 2:04 AM
    Wednesday, July 31, 2013 6:46 AM