Michal Riha

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 49 total)
  • Author
    Posts
  • in reply to: SharePoint 2007 – not able to install #15724
    Michal Riha
    Participant

      Hi Alexander,
      I fixed issue with makeABsUrl. It was caused by core.js which was loaded after you scrip.

      But there is another issue, DFFS doesn’t work on sharepoint 2007 because “Document.querySelectorAll” doens’t exist in IE 11.

      This method doesn’t exist because pages are loaded in compatibility mode in which this function is disabled. I found this method in you code only once. Do you have some idea, hot to fix it?

      Michal

      in reply to: Diacritics on url #15721
      Michal Riha
      Participant

        Hi Alexander,
        maybe I have a clue – I use manally specified location for configuration list. It is in root of web collection (/sites/PWA) and list with DFFS is in subweb (/sites/PWA/TěstList).

        I have this variable: var dffs_configListBaseUrl = “/sites/pwa”; in both DFFS_frontend_CEWP.html and DFFS_backend_CEWP.html.
        The config is stored as “/lists/LISTNAME/editform.aspx” in https://xy/sites/pwa/Lists/SPJSDynamicFormsForSharePoint/

        Error message from developer console is: “It is not possible to read charAt for non-defined or null link” (see attached picture).

        Url “https://xy/sites/pwa/Test diakritiky ě š č ř ž ý á í é/” is encoded as “https://xy/sites/pwa/Test%20diakritiky%20%C4%9B%20%C5%A1%20%C4%8D%20%C5%99%20%C5%BE%20%C3%BD%20%C3%A1%20%C3%AD%20%C3%A9/”

        Thanks and best regards

        Michal

        in reply to: Side-by-side – shading odd columns #13826
        Michal Riha
        Participant

          Thanks Alexander,

          works nice.

          Michal

          Michal Riha
          Participant

            No – today – it works, with no intervention..

            Michal

            Michal Riha
            Participant

              I solved it already, but do not know how 🙂

              Michal

              in reply to: SharePoint Online and DFFS #13820
              Michal Riha
              Participant

                Hi All,

                thanks for working on a new version, Alexander.
                The end of classic view is conclusive. I attach a statement from MS Premier support team…:

                “…I wanted to let you know that I have received an answer from the product team regarding this behaviour , please read below:
                Thank you for contacting Microsoft regarding your request of “Get A Link” for List Item old UI retrieves no value for Item URL
                We have conducted a thorough investigation into this matter and we cannot accept this request.
                To keep our engineering velocity high, we are investing in the modern UI for new functionality moving forward. The classic UI is still available to customers who are satisfied with that feature set. We do not plan on adding all new features to classic UI. Additionally we have indicated publicly that we expect to move away from Classic in the future for ODB, and continue with supporting only the modern UX. We don’t have full timing disclosed yet but working on a plan.”

                Michal

                Michal Riha
                Participant

                  Works perfect!

                  Note: ID column must be present in view.

                  Thanks a lot

                  Michal

                  Michal Riha
                  Participant

                    Hi Alexander,

                    thanks, but how to change the code for deleting document from document library. I use this code with no “elm”:

                    
                    
                    <script type="text/javascript">
                    function init_delete_vLookuChild(a,item){
                        return "<span style='cursor:pointer; font-style: italic; color: gray;' onclick='deleteItem3(\""+item.get_item('ID')+"\",\""+ item.get_item('FileDirRef') + "/"+ item.get_item('FileLeafRef') + "\")'>Delete</span>";  
                    }
                    
                    function deleteItem3(id,docURL){
                    	if(confirm("Delete document:" + docURL + "?")){
                    		var dRes = spjs.utility.deleteItem({"listName":"7BBBADE3-1C24-417C-991E-BCF007CD6873","id":id,"docFullUrl":docURL});
                    		if(dRes.success){
                    	  spjs.vLookup._init("vLookupVyuctovani",false,true);
                              //$("#vLookupManualRefresh_vLookupVyuctovani").click();
                            }
                    	}
                    }
                    </script>

                    How to refresh entire list view? I suppose I can use it as well.

                    Thanks a lot

                    Michal

                    Michal Riha
                    Participant

                      Yes it works – but not in list view. How is it possible to refresh vlookup after item delete in list view?
                      Many thanks
                      Michal

                      Michal Riha
                      Participant

                        List is located in the root of site collection. No subsite.
                        I try both “/” and “{currentSite}” but it is the same wrong behaviour.

                        Michal

                        in reply to: Overlay on submit #12823
                        Michal Riha
                        Participant

                          Works excelent, thanks!
                          Michal

                          in reply to: Error HRESULT: 0x80131904 #12821
                          Michal Riha
                          Participant

                            I found another cause of this error – list item level permissions with combination of unique permissions – see http://www.sharepointsapiens.com/blog/error-exception-from-hresult-0x80131904/

                            Michal Riha
                            Participant

                              Thanks, your method works perfect.

                              Is it possible to call #vLookupManualRefresh only for affected vLookup? I have 12 vLookups and need refresh only one that I am working with. I can do 12 doDeletexy() functions but I am not sure if it is perfect sollution.

                              Michal

                              in reply to: Side-by-side – shading odd columns #12745
                              Michal Riha
                              Participant

                                Hi, it is not working for me in displayform.

                                Michal

                                in reply to: Error HRESULT: 0x80131904 #12743
                                Michal Riha
                                Participant

                                  Solved. I suppose it is connected with permissions. Administrator has no issue, user with Read to site and DFFS + vlookup config has problem when vlookup is configured with list GUID.
                                  When configured with url:xy – it works with no issue.

                                  Thanks for your time

                                  Michal

                                Viewing 15 posts - 16 through 30 (of 49 total)