Gianluca Bencivenga

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: List Base URL dynamic #11460
    Gianluca Bencivenga
    Participant

      Hi,
      I have the latest version,
      DFFS v4.3.67
      vLookup plugin backend v2.262
      vLookup plugin frontend v2.266

      I tried with the BETA versione, but the result is the same.

      in reply to: List Base URL dynamic #11435
      Gianluca Bencivenga
      Participant

        Hi Alexander,
        sorry but not working

        This is the error popup:

        The value currenty used is:
        {var:vLookupBaseUrlVariable}

        Err:
        Sys.ArgumentException: Sys.ArgumentException: Value does not fall within the expected range.
        Parameter name: serverRelativeUrlOrFullUrl

        Gianluca

        Attachments:
        in reply to: List Base URL dynamic #11405
        Gianluca Bencivenga
        Participant

          Hi,
          this is the sample Custom JS….but now I don’t know how to replace value in vLookup blob

          
          
          $( document ).ready(function() {
          var mySite = $("#SPFieldURL a").attr("href");
          console.log(mySite);
          var res = spjs_QueryItems(
          	{
          		"listName":"Attività Progetto",
          		"listBaseUrl":mySite,
          		"query":"<Where><Gt><FieldRef Name='ID' /><Value Type='Text'>0</Value></Gt></Where>",
          		"viewFields":["ID","Title","Author","Created"]
          	}
          );
          $.each(res.items,function(i,item){
          	console.log(item.Title+" was created on "+new Date(item.Created).toLocaleDateString()+" by "+item.Author.split(";#")[1]);
          });
          });
          in reply to: List Base URL dynamic #11393
          Gianluca Bencivenga
          Participant

            Sorry Alexander,
            I did not say that the vlookup is in the parent site.

            Yes, I want use a JavaScript variable here, because I have in the parent list the URL of sub-site and the name of the list in the sub-site is static, only the URL is dynamic

            but I do not know how to do this

            Gianluca

          Viewing 4 posts - 1 through 4 (of 4 total)