Andrew Fletcher

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Debug Panel Blank #29817
    Andrew Fletcher
    Participant

    Update…I just had this happen again but this time I noticed that there was a copy of all the tabs I use in the form down in a long text field in the record. When I deleted the tab names the issue went away.

    in reply to: Rule Not Validating on Field Change #29278
    Andrew Fletcher
    Participant

    Oh ok. That makes sense. I guess I wasn’t clear on the fields portion of that text. Greatly appreciate your assistance!

    Andrew

    in reply to: Pull login name from People Picker Field #22537
    Andrew Fletcher
    Participant

    Alexander —

    Thanks for the reply. I’d been moved to a different project for a few months so I didn’t have a chance to test this until today. It worked perfectly!

    Thanks again,
    Andrew

    in reply to: Pull login name from People Picker Field #21916
    Andrew Fletcher
    Participant

    Thanks Alexander! I apologize. I probably didn’t explain enough of what I was doing. I have a URL in a column of List1 that points to a List2 new item form with the ID of the List1 item tacked on the end. On the List2 new form I have DFFS installed with a rule that runs the spjs.utility.queryItems to get certain fields from the item in List1 and drops them into the corresponding fields in the new item form. Am I limited to the firstname, lastname format like that? Relevant code in the List2 new item form is below. Thanks so much for you help!

    
    
    function clone(){
     var cloneid = getParameterByName('cloneid');
        var res = spjs.utility.queryItems({
            "listName": "List1",
            "query": "<Where><Eq><FieldRef Name='ID'/><Value Type='Number'>" + cloneid + "</Value></Eq></Where>",
            "viewFields": ["Title", "PeoplePicker1", "PeoplePicker2", "PCMID"]
        });
     if (res.count > 0) {
      jQuery.each(res.items, function (index, item) {
       setFieldValue("Title",item.Title);
       item.PeoplePicker1 = item.PeoplePicker1.substring(item.PeoplePicker1.indexOf("#")+1);
       setFieldValue("PeoplePicker1",item.PeoplePicker1);
       item.PeoplePicker2 = item.PeoplePicker2.substring(item.PeoplePicker2.indexOf("#")+1);
       setFieldValue("PeoplePicker2",item.PeoplePicker2);
       setFieldValue("PCMID",item.PCMID);
      }
     )}
    }
    in reply to: Chart Interactivity #8052
    Andrew Fletcher
    Participant

    Thanks Alexander the solution above did work for the column charts I have but did not seem to work for the pie charts.

    Additionally, if I have many pages that house many charts would I be able to add this code in a CEWP for each page to specify a case for each chart much the way you did in one of the previous posts here.

    Thanks,
    Andrew

    Andrew Fletcher
    Participant

    William —

    I was able to get the tabs to show by deleting the lists that DFFS automatically creates the first time you use it (SPJS-DynamicFormsForSharePoint and SPJS-vLookupSettings). From here I went back and clicked the DFFS link at the bottom of the newform and editform and let SPJS recreate those lists. See if that works.

    Andrew Fletcher
    Participant

    Shoot this this a bugger of a problem. No errors in the console and I replaced the link in both CEWPs and went back and replaced the links to the CEWPs in the form as well as backend. Same thing. Resource management tab shows but not the Cascading Dropdowns tab.

    Andrew Fletcher
    Participant

    So here’s the backend CEWP:

    
    
    <div id="dffs_backend"></div>
    <link type="text/css" href="/Style%20Library/dffs/DFFS_backend.css" rel="stylesheet">
    <script type="text/javascript" src="/Style%20Library/dffs/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/Style%20Library/dffs/spjs-utility.js"></script>
    <!-- Optional plugins: uncomment and fix the sctipt src to point to your locale file -->
    <script type="text/javascript" src="/Style%20Library/dffs/vLookup_backend_min.js"></script>
    <script type="text/javascript" src="/Style%20Library/dffs/SPJS-Casc_min.js"></script>
    <!-- 
    <script type="text/javascript" src="/Path_To_You_Locale_Copy/SPJSRM/SPJSRM.js"></script>
    -->
    <script type="text/javascript">
    
    var spjs_dffs_license = "put the license code here";
    
    </script>
    <script type="text/javascript" src="/Style%20Library/dffs/DFFS_backend_min.js"></script>

    and here’s the frontend:

    
    
    <link type="text/css" href="/Style%20Library/dffs/DFFS_Frontend.css" rel="stylesheet">
    <script type="text/javascript" src="/Style%20Library/dffs/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/Style%20Library/dffs/spjs-utility.js"></script>
    <!-- Optional plugins: uncomment and fix the script src to point to your locale file -->
     
    <script type="text/javascript" src="/Style%20Library/dffs/vLookup_frontend_min.js"></script> 
    <script type="text/javascript" src="/Style%20Library/dffs/SPJS-Casc_min.js"></script>
    <!--
    <script type="text/javascript" src="/Path_To_You_Locale_Copy/SPJSRM/SPJSRM.js"></script>
    -->
    <script type="text/javascript">
    
    var spjs_dffs_license = "Put the DFFS license code here";
    var spjs_dffs_backend = "/SitePages/dffsadmin.aspx";
    
    </script>
    <script type="text/javascript" src="/Style%20Library/dffs/DFFS_Frontend_min.js"></script>

    The one other odd thing I noticed is the Resource Management tab is showing but I don’t have that plug-in installed or referenced in the CEWPs.

    Andrew Fletcher
    Participant

    Unfortunately, no. I’ve tried from both the editform and newform.

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