-
Search Results
-
Hi Alex,
I am running into a problem of stopPendingEmails function is not erroring when called from a list in site collection root. This doesnt seem to be happening with subsites.
Here is the Error:
POST https://_vti_bin/lists.asmx net::ERR_NAME_NOT_RESOLVED
Here is the request details that is being sent when calling stopPendingEmails function:
fetch("https://_vti_bin/lists.asmx", { "headers": { "accept": "application/xml, text/xml, */*; q=0.01", "content-type": "text/xml; charset=UTF-8", "sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"99\", \"Microsoft Edge\";v=\"99\"", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "\"Windows\"", "soapaction": "http://schemas.microsoft.com/sharepoint/soap/GetListItems" }, "referrer": "https://intranet.ltp.org/", "referrerPolicy": "strict-origin-when-cross-origin", "body": "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>DFFS_EMail</listName><query><Query xmlns=\"\"><Where><And><Or><BeginsWith><FieldRef Name='Title' /><Value Type='Text'>/lists/all staff meetings:1629824017430|</Value></BeginsWith><BeginsWith><FieldRef Name='Title' /><Value Type='Text'>/lists/all staff meetings:4|</Value></BeginsWith></Or><Neq><FieldRef Name='Done' /><Value Type='Boolean'>1</Value></Neq></And></Where></Query></query><viewFields><ViewFields xmlns=\"\"><FieldRef Name=\"ID\"/><FieldRef Name=\"Title\"/><FieldRef Name=\"Stop\"/></ViewFields></viewFields><rowLimit>100000</rowLimit><queryOptions><QueryOptions xmlns=\"\"><IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns></QueryOptions></queryOptions></GetListItems></soap:Body></soap:Envelope>", "method": "POST", "mode": "cors", "credentials": "omit" });
I did try the request manually (took the code inside stopPendingEmails function and added the webAbsoluteUrl from _spPageContextInfo and passed it along as listBaseUrl property. Code:
spjs.utility.updateItem({ "listName": "DFFS_EMail", "listBaseUrl": _spPageContextInfo.webAbsoluteUrl, "id": 524, "data": { "Stop": "1" } })
This request worked and did update the list item (pending email record).
Can you please take a look and advise?
Thank you,
Amal VellappillilI have a change request form, when the manager selects the staff member we want to know if they are hourly or salary, which is a choice field in the parent list. How can I automatically populate a choice field in the request list with the value from the choice field in the parent list when a staff member is selected?
I think a cascading lookup would work but it requires an extra selection on the choice field in the request list which would be nice if that was auto populated, then I could do what I need, is there a way to do that?
Topic: Where to start?
Hey Alexander & Community,
I’m new here. I have DFFS site collection installed on my site.
I’m looking to create a similar forms to these:
1. https://uigarage.net/1form-user-sign-up-form-web-forms-ui-design/
2. https://dribbble.com/shots/6660668-Form-UI-DesignThe ask is that I make the forms as templates so the info can be retrieved in SharePoint and people can start/stop/return to their work.
Do I start with a SharePoint Custom List or another app?
I’m on SharePoint Server 2016.Thanks.
Topic: Enable Spell Check In Form
The spell check that comes with SharePoint isn’t ideal. Why not just use the one that is in the browser? Well it doesn’t read the input fields in SharePoint.
There’s a simple script you can add to custom JS that will enable the browser spell check in the input fields. It will underline the misspelled word and give you options if you right click, just like it’s supposed to.
Here’s the simple script:
function dffs_ready(){
jQuery(document.getElementById(‘onetIDListForm’).setAttribute(“spellcheck”,”true”));
}I wrapped it in dffs_ready because it doesn’t always load in time otherwise. Enjoy!
Hello,
I currently have 2 lists both with DFFS installed. I have several fields on the parent list setup to autofill fields (of the same names) on the child list. All fields but one autofill on the child list without issue. The only field that throws an error is a people Picker field. The user enters a name in the people picker field on the parent list (Parent field name: Assignee) and clicks on the Add Tasks button which opens the new form in the child list. The child list new form opens and the people picker field (Assignee) in the child list populates with the value listed in the parent form but it is accompanied with the error “Multiple entries matched, please click to resolve.” The user has to clear the field and re-enter the name in order to successfully submit the form. I have attached screen shots of both the parent list field & the child form. I have also attached a screen shot of the vlookup settings. Both Assignee fields are People Picker fields. Any help with this error is greatly appreciated :).