0

I'd like to set a list filter when a user clicks a button above a document library on SharePoint online.

It needs to set the Category column to S, H or E. I feel like this should be fairly simple?

enter image description here

I need to insert the code here..

<div id='piemenu' data-wheelnav
 data-wheelnav-slicepath='DonutSlice'
 data-wheelnav-marker data-wheelnav-markerpath='TriangleMarker'
 data-wheelnav-rotateoff
 data-wheelnav-navangle='330'
 data-wheelnav-cssmode 
 data-wheelnav-init>
  <div data-wheelnav-navitemtext='Environment' onmouseup=''></div>
  <div data-wheelnav-navitemtext='Health' onmouseup=''></div>
  <div data-wheelnav-navitemtext='Safety' onmouseup=''></div>
</div>

  </tr>
  br /br
</table>
  • 1
    You could try adding links to reload the page with list filters applied using ?FilterField1=<YourInternalFieldName>&FilterValue1=Environment as described here – Steve T Mar 12 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.