Hide/show field based on conditions in Page Properties in Site Pages in SharePoint Online modern

%3CLINGO-SUB%20id%3D%22lingo-sub-2378545%22%20slang%3D%22en-US%22%3EHide%2Fshow%20field%20based%20on%20conditions%20in%20Page%20Properties%20in%20Site%20Pages%20in%20SharePoint%20Online%20modern%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378545%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20a%20new%20content%20type%20in%20Site%20Page.%20I%20have%20content%20approval%20turned%20on%20in%20that%20library.%20I%20want%20to%20show%20some%20fields%20for%20users%20who%20submits%20news%20and%20show%20different%20fields%20for%20Approver%20users.%20How%20could%20I%20achieve%20it%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20your%20response!Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2378545%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2378759%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%2Fshow%20field%20based%20on%20conditions%20in%20Page%20Properties%20in%20Site%20Pages%20in%20SharePoint%20Online%20modern%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378759%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693180%22%20target%3D%22_blank%22%3E%40Mani8513%3C%2FA%3E%26nbsp%3BAre%20you%20trying%20to%20show%2Fhide%20fields%20in%20library%20view%20or%20in%20library%20properties%20form%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20are%20trying%20to%20show%2Fhide%20fields%20in%20%3CSTRONG%3Elibrary%3C%2FSTRONG%3E%20%3CSTRONG%3Eform%3C%2FSTRONG%3E%2C%20check%20this%3A%26nbsp%3B%3CA%20title%3D%22Show%20or%20hide%20columns%20in%20a%20list%20or%20library%20form%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Flist-form-conditional-show-hide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EShow%20or%20hide%20columns%20in%20a%20list%20or%20library%20form%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20you%20cannot%20show%2Fhide%20fields%20in%20%3CSTRONG%3Elibrary%20view%3C%2FSTRONG%3E%20conditionally.%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20%26amp%3B%20%3CSTRONG%3ELike%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20to%20solve%20your%20issue.%20This%20will%20help%20others%20to%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20post%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

Hi All,

 

I have created a new content type in Site Page. I have content approval turned on in that library. I want to show some fields for users who submits news and show different fields for Approver users. How could I achieve it? 

 

Appreciate your response!Thanks!

1 Reply

@Mani153011 Are you trying to show/hide fields in library view or in library properties form?

 

If you are trying to show/hide fields in library form, check this: Show or hide columns in a list or library form 

And you cannot show/hide fields in library view conditionally.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.