Tony

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • in reply to: Single Quote or apostrophe in cascade field value #33871
    Tony
    Participant

    Hi,

    I am running on a new version and i have an issue with a rule where a choice field option has an apostrophe. The rule is not running and when i reload DFFS page i get the attached error.
    Any help is really appreciated.

    Tony

    Attachments:
    in reply to: set fields from source list #32304
    Tony
    Participant

    Complete custom JS:

    
    
    spjs.casc.init(
            {
                "manualMode": true,
                "dataSource": "",
                "lookupList": "Projects",
                "lookupListBaseUrl": "/Administration",
                "lookupListFields": ["Company/Title","ProjectType/Title","Title","Product/Title"],
                "thisListFields": ["CompanyString","StatusOfVisitString","ProjectString","ProductString"],
                "setFields": [{"from": "CustomerDesignation","to":"CustomerDesignation","parseFunction": "myParseFn"}],
                "dropDownDefaultvalue": "Select...",
                "filter": "",
                "hideEmptyDropdowns": false,
                "autoselectSingleOption": true,
                "clearInvalidSelection": false,
                "addOwnValue": false,
                "addOwnValueMouseover": "",
                "cancelOwnValueMouseover": "",
                "sideBySide": true,
                "multichoiceDelimiter": ";\d",
                "debug": false
            }
        );
        
        
        
    function myParseFn(val) {
        alert(val);
        return val;
    }
    in reply to: set fields from source list #32302
    Tony
    Participant

    The strange thing is I already tried a myParseFn with alert and it is not called at all it seems. No alert received after all levels of cascading are filled.

    Version used is 3.7.41 August 30

    in reply to: set fields from source list #32298
    Tony
    Participant

    I also tried to use the cascading tab instead of custom js but same result

    in reply to: set fields from source list #32296
    Tony
    Participant

    Hi Again,

    All names are correct (fieldinternalname)
    CustomerDesignation is a single line of text

    Tony

    Tony
    Participant

    Thank you for your reply

    Yes i am using each syntax correctly in each form. And it is entering the each loop with the id pushed correctly. But once trying to use get_item, I am getting the error.

    Tony

    Tony
    Participant

    Hi Again,
    I tried to get the URL using the below:

    
    
    $.each(spjs.vLookup.dataObj["vLookupLivret"][getFieldValue("_vLookupID")].items,function(id,item){
                //alert("each");   
                if(item.hasOwnProperty("ID")){
                    URL = item.get_item('FileDirRef');// + "/"+ item.get_item('FileLeafRef');
                    URLs.push(URL);
                    items.push(id);
                    //alert(item.get_item('FileDirRef'));
                    
                }
            });

    but i am getting get_item is not a supported method.

    Tony
    Participant

    Hi again,

    In my example I have an array of item ids, will it work if I added docurls array to delete all child documents similat to deleting all childs in custom lists??

    Tony
    Participant

    Hi,

    I implemented the above script in my parent list but it did not work. Attached is my complete function.
    dRes is giving the error msg: Access denied. You do not have permission to perform this action or access this resource
    Knowing that the current user has full permissions on site and can manually delete the child document from the library.

    Attachments:
    in reply to: people picker as read only issue #25680
    Tony
    Participant

    Hi,
    You can try Delaying the loading of DFFS in the Misc Tab for 100ms.

    in reply to: Sorting SPJS Lookup in descending order #20309
    Tony
    Participant

    HI,

    Working as expected now. thanks again.

    Regards,

    Tony

    in reply to: Sorting SPJS Lookup in descending order #20256
    Tony
    Participant

    Thank you for your replies Alexander.
    I updated DFFS and now i have [SPJS-Lookup plugin v1.1.9]

    It is still not changing with the below code:
    “filterObj”: {
    “on”: false,
    “folder”: “”, // Leave empty to search in all folders
    “CAML”: null, // If used, the rest of the filterObj settings are disregarded
    “fin”: “ActiveStatus”,
    “ascending”: false,
    “isLookup”: false,
    “operator”: “Neq”,
    “filterVal”: “Inactive”
    }

    Setting the ascending to false or true is changing nothing. You mentioned the orderBy functionality and not the ascending property. Am i missing a parameter that i should use.

    Regards,

    Tony

    in reply to: Sorting SPJS Lookup in descending order #20244
    Tony
    Participant

    Below is my filterObj still not working. I am working on [SPJS-Lookup plugin 1.1.5]

    “filterObj”: {
    “on”: false,
    “folder”: “”, // Leave empty to search in all folders
    “CAML”: null, // If used, the rest of the filterObj settings are disregarded
    “fin”: “ActiveStatus”,
    “ascending”: false,
    “isLookup”: false,
    “operator”: “Neq”,
    “filterVal”: “Inactive”
    }

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