Showing posts with label List. Show all posts
Showing posts with label List. Show all posts

SharePoint Modern list showing classic form only

 Another strange behaviour by SharePoint list recently required us to contact Microsoft support.

The list in question was created in a modern SharePoint Online site with default behaviour to show modern form. The list worked fine for a while.

And then suddenly it started showing the classic forms when creating or editing the list items instead of the modern forms.

Modern form:



Classic form:



First settings we checked was in the -> List Settings -> Advanced Settings to see if the list has reverted to Classic setting. All the settings were as expected. The settings were explicitly changed to 'New Experience' and default multiple times but it did not solve the problem.



Next thing to check was the -> List Settings -> Form Settings. Here it was noticed that the setting was default one, however it seemed that there was a PowerApps form published to the site at one time and then reverted to default form. Choosing the published powerapps form completely broke the list which basically indicated that it may be the cause of our ongoing issues.



Did contact MS support to help us revert the changes and as per them once the form is published, you can not revert this setting back. This later turned out to be incorrect as we showed MS on other lists that this is possible.

Next suggestion from support was to talk to PowerApps teams, which was a bit weird as this setting is in Microsoft.

While MS was trying to bounce our ticket back and forth between their engineers, we have tried to delete the PowerApps form (which was not recommended by MS), and IT WORKED. The list is now as good as new.

The link to delete the form is the last link in second option of the Form Settings.

Hope this helps and saves your time !!





Server Template IDs for SharePoint Lists

I regularly need the server template numbers to use in scripts and code. Hence creating this list.

If you can not find your list name here, open the list and select to view source of the page. In the page try to find text similar to ctx.ListTemplateType = 119

Your List ID would be the highlighted number(119 ID is for image library).

ID List template name
100 Generic list
101 Document library
102 Survey
103 Links list
104 Announcements list
105 Contacts list
106 Events list
107 Tasks list
108 Discussion board
109 Picture library
110 Data sources
111 Site template gallery
112 User Information list
113 Web Part gallery
114 List template gallery
115 XML Form library
116 Master pages gallery
117 No-Code Workflows
118 Custom Workflow Process
119 Wiki Page library
120 Custom grid for a list
130 Data Connection library
140 Workflow History
150 Gantt Tasks list
200 Meeting Series list
201 Meeting Agenda list
202 Meeting Attendees list
204 Meeting Decisions list
207 Meeting Objectives list
210 Meeting text box
211 Meeting Things To Bring list
212 Meeting Workspace Pages list
300 Portal Sites list
301 Blog Posts list
302 Blog Comments list
303 Blog Categories list
850 Page Library
1100 Issue tracking
1200 Administrator tasks list
2002 Personal document library
2003 Private document library
 

Error While creating new list - Silverlight error


Recently after creating a new Site collection, users reported that they can not create a new list/document library in the Site collection. The error is as displayed below:

 

After verifying that it had nothing to do with Silverlight of list templates, I figured out that one of the setting in web application is causing this.You can change the setting as shown below to get rid of this problem.




Once these steps are followed you should be able to create new list without any issue.

SharePoint reservation/Booking lists

Offices and Workplaces today require resource reservation/booking system to manage the resources efficiently. There are many products available in the market to fulfill this requirement.

However in decentralized organizations, such products might be too costly or overkill for such a simple requirement. If your organization is using SharePoint, there may be an easy way to set up such system.

SharePoing offers feature that can turn normal SharePoint Calendar to a reservation system with little effort. Here is how you can do it:

1. Activate "Group Work List" feature (If you can not find this feature in your site, contact administrator)





2. This will automatically create a list named Resource in your site. Now you can enter the names of the resources.



3. You can also group your resources as shown below. This grouping helps you view and manage the list better.



4. Now open a Calendar list or create a new Calendar list. To make this list a reservation/booking list, follow the steps below.



5. Your Reservation calendar is ready for use, Choose to create a new event.


6. You can also view your resources as below