Skip to main content

Search

Help setting the LookupTo(Parent) in sublibrary

Comments

2 comments

  • Matthias_Walter

    Hi Dale

    You can use our Metadata Inheritance to achieve that:

    • Since Metadata Inheritance only allows you to inherit columns of the same type (and the column you want to set is a lookup), you have to configure a lookup pointing to itself on the parent item.
    • To do that, go to the dossier list -> Things in the background -> Columns and add a new column
    • Choose lookup and give it a name like IdAsLk
    • Select the dossier list to get it's information from and choose the ID column to be displayed
    • Once created, edit the column in Solution Studio and switch to the "Background calculation" tab
    • Choose "Expression" as calculated value from the dropdown
    • In the expression box type in =[[ID]] and hit OK. This will set this field for all existing items in the list, which could take some seconds

     

    • Now switch over to the document library where you want to set the parent lookup
    • Go to Things in the background
    • Edit the LookupToParent column and switch to the "Background calculation" tab there as well
    • Choose "Inherit" as calculated value from the dropdown
    • Choose the parent list and the IdAsLk column just created before
    • Save it by pressing OK and it will start to inherit it to all documents as well to newly added

    Kind regards
    Matthias

    0
  • Dale Zach

    Hi Matthias,

    I got this configured, but it only seems to update the lookuptoparent if I modify the document properties of the child file within the dossier after adding the file from SharePoint.

    Dale

    0

Please sign in to leave a comment.