Page type filter alternative form including document name

Al Burns asked on March 2, 2021 12:29

Hi. Currently when you go to the Listing tab of the Pages application you have the Name, Persona and Show All Levels filters.

I want to add additional field names to the filters for specific page types so I have created an alternative form with the display/code names set to "Filter" and selected the additional fields I want to display as filters but when I view this in the Listing section for the page type the Name filter has gone (Persona and Show All Levels are still there).

My question is how can I preserve the Name filter in the alternative filter form? Thanks.

Correct Answer

Al Burns answered on March 3, 2021 09:57

Hi Brian. Only the fields you define on your page type are shown in the fields list of the alternative form so you can't select the document name that way. However, I managed to figure this out so for the benefit of others who may have the same query this is how I solved it:

1). Edit your page type, switch to the Alternative Forms tab and create a new form. This must be called "Filter" to be able to be used on the Listing section in the Pages app.

2). Go to the Fields tab and add a new field to be used for filtering by document name. Leave the data type as "Text", tick the Display field in the editing form checkbox and change the form control to "Text filter".

3). Go to the Editing control settings section and enter the following in the Where condition format field:

DocumentName {2} {1}

Now, when you go to the Listing section and select your page type from the drop down list you will see the document name filter as per the default filters.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brian McKeiver answered on March 2, 2021 19:19

I think you should be able to go to the DocumentName field on the Fields list of the Alternate Form for your Filter and check the box that says Display field in the editing form to true.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.