cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have default filtering for content views ?

fast_narcis_
Confirmed Champ
Confirmed Champ

Is it possiblt to pre-filter a content view list and be able to later change the filter selection ?

For example we might have a list of documents in different lifecycle states, but we only want to view the active ones by default - when we first access the list. We still want to view the others when we change the lifecycle from the filter - display the deleted ones or the inactive ones or both.

Thank you, Narcis Paslaru

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

Filtering is done using a document model attached to the content view.

So you can use the same strategies than when pre-filling a document form for creation:

  • use default values set on schema fields when setting static values (not feasible using Studio)
  • use a listener when using static or dynamic values (doable using Studio automation, but you'll have to make the document model type generated by Studio available in document types list for the event filter)

View answer in original post

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

Filtering is done using a document model attached to the content view.

So you can use the same strategies than when pre-filling a document form for creation:

  • use default values set on schema fields when setting static values (not feasible using Studio)
  • use a listener when using static or dynamic values (doable using Studio automation, but you'll have to make the document model type generated by Studio available in document types list for the event filter)