lzuhuo

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • in reply to: Has anyone tried SPJS with SP 2019? #29038
    lzuhuo
    Participant

      I confirm. Line 7
      I insert manually on head, inspect html page with F12. Not in a html file.
      This server is local. You can access by TV or Any Desk.

      in reply to: Has anyone tried SPJS with SP 2019? #29034
      lzuhuo
      Participant

        I inserted on head manually the css content on style tag and did works fine.
        I think that it’s a problem asynchronism.

        in reply to: Has anyone tried SPJS with SP 2019? #29030
        lzuhuo
        Participant

          Same result with latest version and DFFS_2017-07-10 version

          in reply to: Has anyone tried SPJS with SP 2019? #29028
          lzuhuo
          Participant

            Same result

            in reply to: Has anyone tried SPJS with SP 2019? #29023
            lzuhuo
            Participant

              I used v2 installer.

              Attachments:
              in reply to: Has anyone tried SPJS with SP 2019? #29017
              lzuhuo
              Participant

                I Installed SPJS on SP2019 recently. but I checked css files of backend and frontend was not loaded correctly.

                in reply to: AutoComplete Source from API #26988
                lzuhuo
                Participant

                  No. I published an C# Api on Sharepoint IIS to retrieve data from another database as JSON. Much better and faster then using External List Connection.

                  in reply to: AutoComplete Source from API #26956
                  lzuhuo
                  Participant

                    Let’s Go

                    I tryed to use filterREST but is not exacly what I need.
                    For example:
                    Full Name: Elizeu Eslon Marinho Oliveira.
                    When the length of the user’s string typed is more then 5, I use an Ajax API resquest to return a JSON object and insert in “obj_aluno” in this part:

                    spjs.ac.data.dataObj[argObj.applyTo] = {
                    “done”: true,
                    “items”: obj_aluno
                    };

                    Until this part, the AC Solution works fine. But when the user type in the same field, a diferent name, I intend call another Ajax API request, with another object, and I cant update the spjs.ac.data.dataObj without kill the AC function to reload new options.

                    in reply to: AutoComplete Source from API #26935
                    lzuhuo
                    Participant

                      Hi Alex.
                      This is really useful for my projects.
                      So, I wonder know, if is it possible update items array with new data while the user typing. For example: I have an ajax request API to return more then 45.000 users, but I want to filter using part of user full name on query. The objective is return less results then 45.000.

                      in reply to: Cascading dropdowns – EXTERNAL LIST #25277
                      lzuhuo
                      Participant

                        I find out. The “spjs.casc.init” function must be inside ajax, as it is asynchronous. Has a delay on get API’s reponse.

                        My code

                        
                        
                        $.ajax({
                            url:"/api/sp/rfids/permitidos",
                            success: function(json) {
                                spjs.casc.init(
                                    {
                                    "manualMode":true,
                                    "dataSource":json,
                                    "lookupList":"",
                                    "lookupListBaseUrl":"",
                                    "lookupListFields":["NM_FUNCIONARIO"],
                                    "thisListFields":["DS_REDE"],
                                    "dropDownDefaultvalue":"Select...",
                                    "filter":"",
                                    "hideEmptyDropdowns":false,
                                    "autoselectSingleOption":true,
                                    "clearInvalidSelection":false,
                                    "addOwnValue":false,
                                    "addOwnValueMouseover":"",
                                    "cancelOwnValueMouseover":"",
                                    "sideBySide":true,
                                    "debug":false
                                    }
                                );
                            },
                            error: function(e) {
                               console.log(e);
                            }
                        });
                        in reply to: Cascading dropdowns – EXTERNAL LIST #25271
                        lzuhuo
                        Participant

                          Good morning Alex.
                          I would like to use an API as a dataSourceArray in cascading-dropdown solution.
                          My API returns an Array, but when I try to use it, this is my console log in attachment.
                          This is my code

                          
                          
                          var dataSourceArray;
                          $.ajax({
                              url:"/api/sp/rfids/permitidos",
                              success: function(json) {
                                  // Do stuff with data
                                  dataSourceArray = json;
                                  console.log(dataSourceArray);
                              },
                              error: function(e) {
                                 console.log(e);
                              }
                          });
                          
                          spjs.casc.init(
                              {
                              "manualMode":true,
                              "dataSource":dataSourceArray,
                              "lookupList":"",
                              "lookupListBaseUrl":"",
                              "lookupListFields":["Title"],
                              "thisListFields":["DS_REDE"],
                              "dropDownDefaultvalue":"Select...",
                              "filter":"",
                              "hideEmptyDropdowns":false,
                              "autoselectSingleOption":true,
                              "clearInvalidSelection":false,
                              "addOwnValue":false,
                              "addOwnValueMouseover":"",
                              "cancelOwnValueMouseover":"",
                              "sideBySide":true,
                              "debug":false
                              }
                          );
                          Attachments:
                          in reply to: showMaximized in view and edit showModalDialog #22520
                          lzuhuo
                          Participant

                            Thanks a lot Alex
                            Worked perfect

                            in reply to: Autocomplete for external list #18783
                            lzuhuo
                            Participant

                              Thank you very much.

                              in reply to: Autocomplete for external list #18739
                              lzuhuo
                              Participant

                                Hi Alex.
                                I saw your update on https://spjsblog.com/dffs/dffs-change-log/#SPJS-utilityjs_v1312
                                Could you give more instruction for how to use it on autocomplete function? Thanks

                                Attachments:
                                in reply to: Email and Print #12419
                                lzuhuo
                                Participant

                                  Hi Alex. Great solution. Is it possible change the layout for example to include the logo of the site? And the possibility to print in thermal printers and matrix printers.

                                Viewing 15 posts - 1 through 15 (of 28 total)