The variables ‘pnp’ and ‘sp’ are available in the JS-editor.
A code will be like this:
sp.web.lists.getByTitle(“LibraryName”).items.select(“Title”, “LookupName/Title”, “LookupName/ID”).expand(“LookupName”).filter(“LookupName/Title eq '”+title+"’").get().then(function(items){
console.log(items);
});
‘LookupName’ is a name of your lookup column in the image library, a title is a variable with a value of the supplier’s title.
It’s quite an unusual issue, we can look into implementing this functionality for you, just let us know your requirements in detail and send it to us to support@plumsail.com
Implementing custom functionality will require you to purchase extra support time (1 hour) from our store https://plumsail.com/forms/store/