GithubHelp home page GithubHelp logo

Join Using a LookupField about sharepointplus HOT 3 CLOSED

aymkdn avatar aymkdn commented on June 12, 2024
Join Using a LookupField

from sharepointplus.

Comments (3)

Aymkdn avatar Aymkdn commented on June 12, 2024

Hi,

To join two lists, you need to have the same information in both columns. However lstPeople.Company will return "ID;#Name", when lstCompagnie.ID returns just "ID". So they are different....

You can try creating a new column in lstCompanies that concatanes "ID" with "Name" to create "ID;#Name". To do so, you'll have to create a workflow that save this value on creation/update to the new column.

Make sense ?

from sharepointplus.

lcfm avatar lcfm commented on June 12, 2024

Hi! Thank you very much for the feedback.

Applying what you said, I am going on the way of storing the Company:ID on the People list and creating an workflow that stores this Company:ID on a column called CompanyId and then joining the two lists by lstPeople.CompanyId = lstCompanies.ID.

What do you think? Instead of joining them between an X;Y = X;Y field, it would be only X=X. It's working and kinda the the same you said. Actually both ways work, but I dont really know what it would be faster or more reliable of the two choices, what do you think?

And thanks a lot again, the sharepointplus is amazing.

from sharepointplus.

Aymkdn avatar Aymkdn commented on June 12, 2024

It will be the same. So both solutions are good !

from sharepointplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.