Kasey

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 91 total)
  • Author
    Posts
  • in reply to: Cascading Drop Down Initial Filter #16313
    Kasey
    Participant

    I confirmed I’m using 3.7.1 Beta for front and back. Should I go back to 3.7.0?

    in reply to: Redirect to Display with vLookup #16234
    Kasey
    Participant

    Sorry, running SharePoint 2010.

    in reply to: Redirect to Display with vLookup #16232
    Kasey
    Participant

    My parent list is open in a dialog and the vLookup forms open in a dialog. I am using your latest production version (4.4.2.9).

    in reply to: CASC :multi on change? #16226
    Kasey
    Participant

    I’m not sure if I’m doing it the most efficient way possible but yes, I did get it working.

    in reply to: CASC :multi on change? #16189
    Kasey
    Participant

    Sorry, I figured out how to clear all options.

    spjs.casc.clear(“HighRiskProcess”,0)

    in reply to: CASC :multi on change? #16187
    Kasey
    Participant

    Actually, I cant get my second cascade selected options to clear for some reason. So if you have a way to reset all selected options to nothing please let me know.

    in reply to: CASC :multi on change? #16185
    Kasey
    Participant

    I figured out a method to call my function when adding/removing options which I have provided below. You may have a better option for me. I also figured out I can clear all selected options if I setFieldValue to “” and reinitialize my casc.

    $().ready(function () {
    checkForDOMAndCalculate();
    });

    function checkForDOMAndCalculate() {
    setTimeout(checkDOM, 100);
    }

    function checkDOM() {
    if( $(‘#HighRiskProcess_casc_btnRemove’).length ){
    $(“#HighRiskProcess_casc_btnAdd”).click(function() {highRiskProcess()});
    $(“#HighRiskProcess_casc_btnRemove”).click(function() {highRiskProcess()});
    }
    else{
    checkForDOMAndCalculate();
    }
    }

    in reply to: New Initial Filter #15936
    Kasey
    Participant

    Thank you. I have tried this but think I am formatting my filter line incorrectly. What is wrong with the below?

    “filter”:”{‘filterField’:’myField’,’filterValue’:’myValue’,’operator’:’eq’}”,

    in reply to: Redirect from New to Disp #15851
    Kasey
    Participant

    I worked around this by using your out of the box redirect from New to Edit and added an onload function on edit that prompts the user if they would like to be directed to the display form. If yes I use your new redirect function to redirect them to dispform. Not super elegant and a bit jumpy for the user but it does the trick. If there is a better way please let me know. Maybe in a future enhancement you provide the ability to redirect from New to Disp. The main purpose was to get them to where they could print.

    • This reply was modified 3 years, 3 months ago by Kasey.
    in reply to: vLookup child value back to parent #15617
    Kasey
    Participant

    Final update to function. I thought I tested it fully but didn’t.

    function setParentFromChild(vLookup,vLookupChildField,parentField){
    var parentID = getFieldValue(“ID”);
    var childValues = [];
    for (childItem in spjs.vLookup.dataObj[vLookup][parentID].items) {
    childValues.push(spjs.vLookup.dataObj[vLookup][parentID].items[childItem][vLookupChildField]);
    };
    setFieldValue(parentField,childValues[0]);
    }

    in reply to: vLookup child value back to parent #15615
    Kasey
    Participant

    Updated Function…

    function setParentFromChild(vLookup,vLookupChildField,parentField){
    var parentID = getFieldValue(“ID”);
    var childValues = [];
    for (childItem in spjs.vLookup.dataObj[vLookup][parentID].items) {
    spjs.vLookup.dataObj[vLookup][parentID].items[childItem][vLookupChildField]
    childValues.push(childItem);};

    setFieldValue(parentField,childValues[0]);
    }

    in reply to: vLookup child value back to parent #15612
    Kasey
    Participant

    Here is the function I plan on implementing. I would only allow add/edit on New or Edit. Is there a trigger I can use to know when to call the function after a child vlookup has been added or edited? And is there a way to limit to just one child item. Sorry for all the posts.

    function setParentFromChild(vLookup,vLookupChildField,parentField){
    var parentID = getFieldValue(“ID”);
    var childValue = for (childItem in spjs.vLookup.dataObj[vLookup][parentID].items) {spjs.vLookup.dataObj[vLookup][parentID].items[childItem][vLookupChildField]};
    setFieldValue(parentField,childValue);
    }

    • This reply was modified 3 years, 3 months ago by Kasey.
    in reply to: vLookup child value back to parent #15604
    Kasey
    Participant

    I got some help and was able to figure out how to get the value in the child item and can add it in a function in custom js. Is there something I can use to trigger the function on saving the child item? And is there a good way to limit the child items to just one?

    in reply to: Access Denied Error #15252
    Kasey
    Participant

    My issue was resolved when I was granted access to the top level site.

    in reply to: Access Denied Error #15150
    Kasey
    Participant

    I actually don’t get a login prompt. Just a popup…

    sharepoint.xyz.com says:
    Access denied. You do not have permissions to perform this action or access this resource.

    It appears to be referring to the below which is the subsite URL for which I have Full Control over.
    ……../_vti_bin/client.svc/ProcessQuery

Viewing 15 posts - 46 through 60 (of 91 total)