Modern Sites/Pages limitations - Project Road Blocks.

%3CLINGO-SUB%20id%3D%22lingo-sub-129475%22%20slang%3D%22en-US%22%3EModern%20Sites%2FPages%20limitations%20-%20Project%20Road%20Blocks.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-129475%22%20slang%3D%22en-US%22%3E%3CP%3EEvening%20everyone%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI'm%20looking%20for%20some%20advice%20on%20how%20I%20can%20get%20around%20some%20roadblocks%20i'm%20hitting%20with%20the%20modern%20UI.%20Here's%20the%20issues%3A%3C%2FP%3E%3COL%3E%3CLI%3EI%20need%20to%20be%20able%20to%20disable%20%2F%20hide%20fields%20on%20a%20modern%20UI%20form%20(NewForm.aspx%20%2F%20EditForm.aspx).%20Previously%20this%20would%20have%20been%20done%20using%20JS%20in%20a%20SEWP%2FCEWP.%20The%20only%20solution%20I%20have%20found%20here%20is%20to%20hide%20it%20from%20the%20form%20by%20customizing%20the%20content%20type%20(but%20this%20hides%20it%20from%20%3CSTRONG%3Eeveryone%3C%2FSTRONG%3E).%3CBR%20%2F%3EThe%20newly%20released%20powerapps%20functionality%20(%3CA%20title%3D%22Here%22%20href%3D%22https%3A%2F%2Fpowerapps.microsoft.com%2Fen-us%2Fblog%2Fcustom-form-launch%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EHere%3C%2FA%3E)%20would%20have%20solved%20this%20easily%20but%20comes%20with%20its%20own%20quirks%20that%20cause%20issues%20for%20the%20requirements%20below.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EAttachments%20-%20the%20Modern%20form%20supports%20adding%20attachments%20to%20items%20but%20the%20powerapps%20functionality%20does%20not%20-%20PA%20only%20supports%20read%20only%20operations%20when%20it%20comes%20to%20attachments%20(At%20least%20for%20now)%20which%20prevents%20me%20from%20using%20PA%20to%20solve%20issue%201.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CLI%3EMultiple%20notes%20-%20Previously%20I%20would%20have%20dealt%20with%20this%20by%20simply%20turning%20on%20versioning%20and%20%22append%20changes%22%20to%20a%20multiline%20text%20box.%20However%2C%20when%20%3CSTRONG%3Eappend%20changes%3C%2FSTRONG%3E%20is%20turned%20on%2C%20the%20Modern%20UI%20changes%20to%20a%20classic%20form.%20Powerapps%20handles%20it%20better%20but%20only%20shows%20the%20latest%20addition%20to%20the%20text%20box%20-%20any%20previous%20entries%20are%20not%20shown%20on%20the%20PA%20form%20but%20are%20correctly%20stored%20on%20the%20list%20item.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThese%20requirements%20could%20be%20met%20fairly%20quickly%20using%20the%20classic%20UI%20with%20only%20a%20little%20bit%20of%20JS%20for%20the%20field%20hide%20%2F%20disable%20part%20-%20SharePoint%20does%20the%20other%20two%20requirements%20out%20of%20the%20box%20with%20no%20issue.%3CBR%20%2F%3EAny%20input%20on%20how%20these%20requirements%20can%20be%20met%20using%20powerapps%20or%20the%20modern%20UI%20would%20be%20appreciated.%3CBR%20%2F%3EI'm%20not%20against%20using%20SPFx%20Web%20Parts%20%2F%20Extensions%20but%20don't%20want%20to%20create%20completely%20custom%20forms%26nbsp%3B%20as%20I%20feel%20that%20goes%20against%20everything%20that%20was%20mentioned%20at%20ESPC17.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3CBR%20%2F%3EM%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-129475%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eissue%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EModern%20Site%20Page%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-204076%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Sites%2FPages%20limitations%20-%20Project%20Road%20Blocks.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-204076%22%20slang%3D%22en-US%22%3EHey%20Michael%2C%20following%20up%20on%20this.%20Attachments%20are%20now%20supported%20in%20PowerApps%20for%20number%202.%20And%20the%20number%3CBR%20%2F%3E%3CBR%20%2F%3E3.%20multi-line%20text%20append%20support%20is%20coming%20by%20mid%20July%20for%20Targeted%20Release%20tenants%20per%20admin%20message%3A%20MC141280%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-129583%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Sites%2FPages%20limitations%20-%20Project%20Road%20Blocks.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-129583%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20your%20input%20Juan%2C%20much%20appreciated.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20looks%20like%20I'll%20need%20to%20stick%20with%20Classic%20mode%20for%20now%20or%20wait%20until%20the%20attachment%20functionality%20is%20available%20in%20Powerapps.%3CBR%20%2F%3EUnfortunately%20attaching%20files%20is%20a%20mandatory%20requirement%20so%20Powerapps%20can't%20be%20used%20in%20this%20instance.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20modern%20UI%20looks%20and%20works%20well%20but%20given%20the%20fact%20I%20can't%20customize%20the%20form%20or%20use%20the%20append%20text%20feature%20on%20a%20multi-line%20text%20box%20(it%20reverts%20to%20a%20classic%20form)%20takes%20that%20out%20of%20the%20tool%20belt%20as%20well.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20have%20looked%20at%20SPFx%20extensions%20to%20add%20command%20bar%20%2F%20context%20buttons%20but%20I've%20not%20been%20able%20to%20come%20to%20a%20complete%20solution%20meeting%20all%20requirements%3B%20Either%20attachments%20go%2C%20or%20the%20append%20text%20feature%20goes.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%20re-writing%20a%20lot%20of%20code%20that%20works%20out%20of%20the%20box%20in%20classic%20mode%2C%20my%20options%20seem%20limited%20to%20either%20using%20Classic%20Mode%20or%20waiting%20to%20be%20able%20to%20use%20attachments%20(read%2Fwrite)%20through%20Powerapps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20anyone%20can%20think%20of%20a%20workaround%20%2F%20method%20that%20the%20Modern%20UI%20can%20be%20used%20while%20still%20being%20able%20to%20attach%20files%20and%20keep%20a%20history%20of%20case%20notes%20(either%20through%20append%20text%20to%20a%20multiline%20textbox%20or%20by%20linking%20to%20a%20seperate%20list)%20then%20let%20me%20know.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%20again%20for%20your%20help%20Juan.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-129532%22%20slang%3D%22en-US%22%3ERe%3A%20Modern%20Sites%2FPages%20limitations%20-%20Project%20Road%20Blocks.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-129532%22%20slang%3D%22en-US%22%3EHi%20Michael%2C%3CBR%20%2F%3EMy%202%20cents%20here%3A%3CBR%20%2F%3E1.%20As%20you%20have%20said%2C%20this%20is%20coming%20with%20PowerApps%20integration...PowrApps%20integration%20for%20SPO%20List%20%2F%20Document%20Libraries%20forms%20is%20currently%20being%20rolled%20out%20in%20First%20Release...another%20alternative%20here%20could%20be%20SPFx%20Extensions%2C%20but%20it%20could%20be%20also%20very%20limited%20for%20your%20scenario%3CBR%20%2F%3E2.%20If%20PowerApps%20is%20not%20OK%20for%20you%2C%20then%20I%20only%20see%20something%20around%20SPFx%20Extensions%20about%20a%20possibility%20but%20I%20think%20is%20going%20to%20be%20very%20far%20to%20meet%20you%20requirements%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Evening everyone,

I'm looking for some advice on how I can get around some roadblocks i'm hitting with the modern UI. Here's the issues:

  1. I need to be able to disable / hide fields on a modern UI form (NewForm.aspx / EditForm.aspx). Previously this would have been done using JS in a SEWP/CEWP. The only solution I have found here is to hide it from the form by customizing the content type (but this hides it from everyone).
    The newly released powerapps functionality (Here) would have solved this easily but comes with its own quirks that cause issues for the requirements below.

  2. Attachments - the Modern form supports adding attachments to items but the powerapps functionality does not - PA only supports read only operations when it comes to attachments (At least for now) which prevents me from using PA to solve issue 1.

  3. Multiple notes - Previously I would have dealt with this by simply turning on versioning and "append changes" to a multiline text box. However, when append changes is turned on, the Modern UI changes to a classic form. Powerapps handles it better but only shows the latest addition to the text box - any previous entries are not shown on the PA form but are correctly stored on the list item.

These requirements could be met fairly quickly using the classic UI with only a little bit of JS for the field hide / disable part - SharePoint does the other two requirements out of the box with no issue.
Any input on how these requirements can be met using powerapps or the modern UI would be appreciated.
I'm not against using SPFx Web Parts / Extensions but don't want to create completely custom forms  as I feel that goes against everything that was mentioned at ESPC17.

Thanks.
M

 

3 Replies
Highlighted
Hi Michael,
My 2 cents here:
1. As you have said, this is coming with PowerApps integration...PowrApps integration for SPO List / Document Libraries forms is currently being rolled out in First Release...another alternative here could be SPFx Extensions, but it could be also very limited for your scenario
2. If PowerApps is not OK for you, then I only see something around SPFx Extensions about a possibility but I think is going to be very far to meet you requirements

Highlighted

Thanks for your input Juan, much appreciated.

It looks like I'll need to stick with Classic mode for now or wait until the attachment functionality is available in Powerapps.
Unfortunately attaching files is a mandatory requirement so Powerapps can't be used in this instance.

The modern UI looks and works well but given the fact I can't customize the form or use the append text feature on a multi-line text box (it reverts to a classic form) takes that out of the tool belt as well.

I have looked at SPFx extensions to add command bar / context buttons but I've not been able to come to a complete solution meeting all requirements; Either attachments go, or the append text feature goes.

 

Without re-writing a lot of code that works out of the box in classic mode, my options seem limited to either using Classic Mode or waiting to be able to use attachments (read/write) through Powerapps

 

If anyone can think of a workaround / method that the Modern UI can be used while still being able to attach files and keep a history of case notes (either through append text to a multiline textbox or by linking to a seperate list) then let me know.


Thanks again for your help Juan.

 

 

 

 

 

Highlighted
Hey Michael, following up on this. Attachments are now supported in PowerApps for number 2. And the number

3. multi-line text append support is coming by mid July for Targeted Release tenants per admin message: MC141280