SOLVED

Autopopulate Values (Like Firstname,Lastname,etc) in NewItem ListForm in Modern Teamsite

%3CLINGO-SUB%20id%3D%22lingo-sub-212120%22%20slang%3D%22en-US%22%3EAutopopulate%20Values%20(Like%20Firstname%2CLastname%2Cetc)%20in%20NewItem%20ListForm%20in%20Modern%20Teamsite%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-212120%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20Classic%20SharePoint%20Online%20Sites%2C%20If%20Scripting%20capabilities%20are%20enabled%20then%20We%20can%20Autopopulate%20Values%20Like%20Firstname%2C%20Lastname%20etc%20using%20below%20options%3C%2FP%3E%3CP%3E1.Based%20on%20PeoplePicker%20field%20value%20in%20other%20fields%20using%20JQuery%20(Script%20Editor%20Webpart)%3C%2FP%3E%3CP%3E2.Using%20SPServices%20and%20JQuery%20to%20autopopulate%20values%20from%20UserProfile.%3CSPAN%3E(Script%20Editor%20Webpart)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20Achieve%20Same%20Autopopulation%20Logic%20in%20Modern%20Team%20Sites.%20What%20are%20the%20options%20going%20forward%3C%2FP%3E%3CP%3E1.%20since%20Using%20SPFX%20we%20can%20interact%20with%20Page%20and%20Webparts%20but%20not%20with%20NewItem%20Listform%20Fields%20and%20UI%20.%3C%2FP%3E%3CP%3E2.%20Is%20PowerApps%20the%20only%20option%20Where%20we%20can%20autopopulate%20values%20using%20functions%20based%20on%20Peoplepicker%20field%20Datacard%20Values%20(But%20Forms%20designed%20using%20Powerapps%20require%20all%20user%20to%20have%20PowerApps%20Subscription)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKindly%20Suggest%20on%20the%20above%20requirement%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-212789%22%20slang%3D%22en-US%22%3ERe%3A%20Autopopulate%20Values%20(Like%20Firstname%2CLastname%2Cetc)%20in%20NewItem%20ListForm%20in%20Modern%20Teamsite%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-212789%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20also%20build%20your%20own%20custom%20form%20using%20Field%20Customizer%20and%20have%20it%20open%20instead%20of%20Modern%20List%20form.%20But%20Microsoft%20is%20already%20working%20on%20providing%20options%20to%20customize%20modern%20list%20form.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F20474935-field-customizer-evolution-forms-quick-edit-mode%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329220-sharepoint-dev-platform%2Fsuggestions%2F20474935-field-customizer-evolution-forms-quick-edit-mode%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Visitor

In Classic SharePoint Online Sites, If Scripting capabilities are enabled then We can Autopopulate Values Like Firstname, Lastname etc using below options

1.Based on PeoplePicker field value in other fields using JQuery (Script Editor Webpart)

2.Using SPServices and JQuery to autopopulate values from UserProfile.(Script Editor Webpart)

 

To Achieve Same Autopopulation Logic in Modern Team Sites. What are the options going forward

1. since Using SPFX we can interact with Page and Webparts but not with NewItem Listform Fields and UI .

2. Is PowerApps the only option Where we can autopopulate values using functions based on Peoplepicker field Datacard Values (But Forms designed using Powerapps require all user to have PowerApps Subscription)

 

Kindly Suggest on the above requirement 

1 Reply
best response confirmed by vinoth kumar (Regular Visitor)
Solution

You could also build your own custom form using Field Customizer and have it open instead of Modern List form. But Microsoft is already working on providing options to customize modern list form.

https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/20474935-field-cu...