Show different view depending on column value?

%3CLINGO-SUB%20id%3D%22lingo-sub-420537%22%20slang%3D%22en-US%22%3EShow%20different%20view%20depending%20on%20column%20value%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-420537%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20creating%20folders%20and%20subfolders%20in%20my%20sharepoint%20site%2C%20and%20then%20upload%20documents%20into%20these%20subfolders.%20This%20is%20currently%20done%20programmatically%2C%20and%20I'm%20able%20to%20see%20the%20content%20and%20navigate%20in%20Sharepoint%20as%20I%20would%20in%20a%20regular%20file%20system.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20there%20are%20columns%20that%20apply%20to%20a%20Folders%20view%2C%20and%20other%20columns%20that%20apply%20to%20a%20Documents%20view.%20I%20added%20a%20hidden%20column%20called%20%22Level%22%20that%20will%20help%20determine%20whether%20we're%20viewing%20FOLDERS%20or%20DOCUMENTS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20the%20value%20of%20this%20field%20control%20what%20view%20is%20applied%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-420537%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

I'm creating folders and subfolders in my sharepoint site, and then upload documents into these subfolders. This is currently done programmatically, and I'm able to see the content and navigate in Sharepoint as I would in a regular file system.

 

But there are columns that apply to a Folders view, and other columns that apply to a Documents view. I added a hidden column called "Level" that will help determine whether we're viewing FOLDERS or DOCUMENTS.

 

Can the value of this field control what view is applied?

0 Replies