SharePoint Library view not getting refreshed

%3CLINGO-SUB%20id%3D%22lingo-sub-1142129%22%20slang%3D%22en-US%22%3ESharePoint%20Library%20view%20not%20getting%20refreshed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1142129%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20created%20json%20column%20formatting%20in%20one%20of%20my%20Document%20Library%20that%20would%20show%20the%20status%20of%20the%20column.%20It%20will%20display%20the%20column%20with%26nbsp%3B%3CFONT%20color%3D%22%23339966%22%3EGreen%20%3CFONT%20color%3D%22%23000000%22%3Ecolor%3C%2FFONT%3E%3C%2FFONT%3E%20if%20the%20value%20in%20the%20column%20is%20%3CFONT%20color%3D%22%23339966%22%3EActive%3C%2FFONT%3E%20and%20%3CFONT%20color%3D%22%23FF0000%22%3ERed%3C%2FFONT%3E%20if%20the%20value%20is%3CFONT%20color%3D%22%23FF0000%22%3E%20Retired%20%3CFONT%20color%3D%22%23000000%22%3Eas%20shown%20in%20screenshot%20attached%3C%2FFONT%3E%3C%2FFONT%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20another%20column%20that%20would%20trigger%20flow%20to%20update%20the%20status%20of%20the%20column.%20Flow%20is%20working%20fine%20the%20column%20is%20getting%20updated%2C%20but%20the%20issue%20is%20that%20library%20view%20is%20not%20getting%20refreshed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20to%20reload%20the%20library%20manually%20to%20see%20the%20change.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3CBR%20%2F%3EThanks%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1142129%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2433114%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Library%20view%20not%20getting%20refreshed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2433114%22%20slang%3D%22en-US%22%3EI%20understand%20its%20very%20late%20to%20the%20party%20but%20have%20stumbled%20up%20on%20similar%20issue.%20Giving%20response%20for%20someone%20who%20comes%20across%20similar%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20me%20%2C%20had%20a%20conditional%20hyperlink%20on%20the%20column%20in%20json%20listview%20formatting.%20The%20custom%20view%20will%20not%20display%20the%20hyperlink%20formatting%20when%20my%20custom%20view%20was%20made%20as%20default%20view%20but%20will%20display%20hyperlink%20if%20some%20other%20view%20eg%3A%20AllItems%20view%20is%20visited%20first%20followed%20by%20custom%20view.%3CBR%20%2F%3E%3CBR%20%2F%3ESolution%20that%20worked%20for%20me%20%3A%3CBR%20%2F%3EFor%20me%20%2C%20the%20column%20added%20wasn't%20added%20to%20the%20view%20and%20hence%20the%20JSON%20listview%20formatting%20wont%20pick%20up%20and%20display%20the%20format%20when%20custom%20view%20was%20made%20as%20default%20view.%20After%20adding%20the%20column%20to%20the%20custom%20view%20it%20started%20displaying%20hyperlink%20consistently%20on%20page%20load.%3C%2FLINGO-BODY%3E
Regular Visitor

Hi,

I have created json column formatting in one of my Document Library that would show the status of the column. It will display the column with Green color if the value in the column is Active and Red if the value is Retired as shown in screenshot attached.

 

I have another column that would trigger flow to update the status of the column. Flow is working fine the column is getting updated, but the issue is that library view is not getting refreshed.

 

I need to reload the library manually to see the change.

 

Any help would be appreciated.
Thanks

1 Reply
I understand its very late to the party but have stumbled up on similar issue. Giving response for someone who comes across similar issue.

For me , had a conditional hyperlink on the column in json listview formatting. The custom view will not display the hyperlink formatting when my custom view was made as default view but will display hyperlink if some other view eg: AllItems view is visited first followed by custom view.

Solution that worked for me :
For me , the column added wasn't added to the view and hence the JSON listview formatting wont pick up and display the format when custom view was made as default view. After adding the column to the custom view it started displaying hyperlink consistently on page load.