Lists
2963 TopicsSharePoint 2019 On Premise: Cascading Drop Down + Lookup Field
Hi there, I tried this feature. I have a list with two "LOOKUP" fields. Let's say one is a "project code" and the other is a task. When users create a new project in the list, they can select a "Project Code" and a "Task." If you select "Project Code" in this part, it will be judged whether the project code contains "BM". If so, then "Task Id" will get "Task Id" starting with "A". If the project code contains "S", get the "Task Id" starting with "S". I added JavaScript to newform.aspx to achieve this. JavaScript looks like this. Now, I ran into a problem which is when I changed the "Project Code", the JavaScript ($(projectCodeDropdownId).change(function() ... ) cannot be triggered. So I ask the expert to help me share some idea/ thoughts/ solutions on this. Thanks. $(document).ready(function() { // Replace with the actual ID of your Project Code dropdown var projectCodeDropdownId = 'Project_x0020_Code_576bd655-c475-412d-bd61-8164571f6726_$LookupField'; var tasksCodeDropdownId = 'Tasks_09d67b50-12ae-4d0c-b3e0-b83d615baa8a_$LookupField'; $(projectCodeDropdownId).change(function() { var selectedProjectCode = $(this).val(); var taskPrefix = ''; // Determine the task prefix based on the project code prefix if (selectedProjectCode.startsWith('BM')) { taskPrefix = 'A'; } else if (selectedProjectCode.startsWith('S')) { taskPrefix = 'S'; } // Filter tasks based on the determined prefix $.ajax({ url: '/_vti_bin/listdata.svc/Tasks?$filter=startswith(Code, \'' + taskPrefix + '\')', method: 'GET', headers: { 'Accept': 'application/json;odata=verbose' }, success: function(data) { var tasksDropdown = $(tasksCodeDropdownId); tasksDropdown.empty(); $.each(data.d.results, function(index, task) { tasksDropdown.append('<option value="' + task.Id + '">' + task.Title + '</option>'); }); } }); }); });7Views0likes0CommentsCustomize JSON Microsoft List - "Four Boxes"
Hello, I would like to ask how I can custom json in Microsoft List to create a custom display to show a list in a "Four boxes" (4 box, Four box) format as shown in the attached image. Thank you for your help ! Four boxes version : Today's version :15Views0likes0CommentsSharepoint conditional formatting not applying to item view
Hello, I require some help with a sharepoint list that I have setup to track issues. I have a column that has a priority label: Low, Medium or High based on a number value. I have setup a conditional formatting see below in list view: However, this conditional formatting does not show in the item view see below: Is anyone able to tell me why and how do i correct this? Many thanks72Views0likes1CommentSharepoint Online error when editing a listitem e.split is not a function
Hello, am having a issue with a list that is used on a daily basis by a team of people. We discovered the other day we can no longer make edits (I am the admin of the site and others with edit rights have the same issue). When we double click on the list item for editing it gives the error below. I have researched online and found advice to try the edit in private or incognito mode and indeed this works. But its not a longer term fix. I also tried to save a new view copy, but it had the same editing error. Can you advise on how to fix this error? Could it be browser update related?Solved7.4KViews0likes12CommentsDefault value in people column
Hello, I would like to ask for advice. How can I set up a SharePoint list so that when a new item is created through a form, two specific employees are automatically added to a specific "people" column? I already have a fairly complex Power Automate flow working with the "when a new item is created" event, and I would prefer not to modify it. Ideally, I am looking for a way to populate these employees into the SharePoint list directly when filling out the form, without using Power Automate. Is it possible? Best Regards, Jan35Views0likes1CommentNested Dynamic Filtering on web parts does not work
I created a Sharepoint page and added an MS list web part, which I use as a "filter" selection. Then, I added a second MS list to display the main list of content items, configured with Dynamic filtering based on selecting the "filter" list. Then, I added a Document library web part, which is again configured with Dynamic Filtering based on the selection of the second content item list. Unfortunately, when you select an item from the "filter" list and then select an item from the second "content" list, the document library does not update based on the selection. HOWEVER.. If I select an item from the second "content" list without selecting an item from the "filter" list, the document library updates and shows the filtered content correctly. Any idea why it would not work and how to fix this? Seems like it should work381Views0likes14CommentsSwapping a root site, but maintaining a list
Hi all, We are swapping our dated root site for a modern site. Our current root site was created back in 2016, and uses SharePoint classic. We plan to swap for a modern site and launch with a fresh look for our organization's intranet. I understand when swapping a root site, the initial root site's site collection is archived. Including lists. We have an expansive IT Intake list on our current root site, which includes workflows that send email approvals, as well as Jira integrations. We still use this IT Intake list. Is there any way to preserve the IT Intake list and/or migrate it, its workflows, and content onto the new root site without losing any data or duplicating our efforts? I have seen that you can extract the list and import it to a new list, but this is not ideal. As a note: we cannot use third-party migration tools at this time. Thanks!19Views0likes0CommentsRegarding the "App Catalog" in SharePoint 2019
Hi there, When the customization (ListView Command Set extension: Microsoft Sample: Build your first ListView Command Set extension | Microsoft Learn) was done, and it was uploaded to the App Catalog (http://win-xxxxx:19065/sites/apps), everything was well. And I also can "Add an App" in the "Site Content" But I cannot find any changes in my list in "http://win-xxxxx:19065/", I try to create a new list, and the custom function went well in App Catalog (http://win-xxxxx:19065/sites/apps). Even I want to "Add an App" in "http://win-xxxxx:19065/", I also cannot find the new App in "App you can add". Is there any idea on this? or which steps was ignored? Thanks1.7KViews0likes2CommentsHow to connect SharePoint with third party ERP system(eMagic)
Hi All, I want to know if there is any way to connect SharePoint with third party ERP system example (eMagic), as if user add items in SharePoint it should be reflect in ERP system and if some data add in ERP then it should be reflect in SharePoint. If someone have answer for this question please provide me a solution. Thank you...35Views0likes4CommentsHow to create a SharePoint List View Filter with no Parenthesis?
When you edit a SP List View, Filter section, the first option is "Show items only when the following is true:". After that you can keep adding columns, with operators and values for the conditionals. My problem is there are no () to show what needs to be kept together for the "And" & "Or"s. I have a Status field which can contain the options of: Blocked, In progress, Completed, Won't fix, New, In review, Next publish, Reviewed, Duplicate, By design I have 2 people fields that I am concerned about: Assigned to, Reviewer I have 1 person that can be two different names (some data has Jack, some has Kevin, but it is the same person). What I want is: (Status Begins with "In progress" OR Status Begins with "New" OR Status Begins with "In review" OR Status Begins with "Next publish" OR Status Begins with "Reviewed") AND ( (Assigned to Begins with "Kevin" OR Assigned to Begins with "Jack") OR (Reviewer Begins with "Kevin" OR Reviewer Begins with "Jack") ) So, in essence I need all open items (Status items "In progress", "New", "In review", "Next publish", "Reviewed") AND where ((Assigned to is Kevin or Jack) OR (Reviewer is Kevin OR Jack)) As soon as I add an "OR" after the "AND" it messes the results up. Is there any way to do this in SP View Filter?Solved28Views0likes1Comment