[PageType] Field not visible in Search Fields tab

Tomasz Sikora asked on September 4, 2017 13:09

For some reason I cannot see specific field in "Search fields" tab on Page Types application.

Image Text

This field is of type Long text

What can I do to have it available in Search fields tab?

Image Text

Correct Answer

Dawid Jachnik answered on September 4, 2017 13:49

Hello, Chetan I think that Tomasz use page field instead of creating custom with the same name.

So in that case if you use Field type Page field you need to go to: Modules>Ecommerce>Classes>SKU>Search

There you have seting for search fields.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Chetan Sharma answered on September 4, 2017 13:37

Tomasz, when I tried to create this field in Page Type with exactly same name I got an error which I think is correct because DocumentTags field is already present in View_CMS_Tree_Joined. I am not sure how does system allowed you?

The column name already exists in a table that is joined to this table in order to create a view. Please enter some other name.

Screenshot of error

By the way you can assign this field to any unused field in the default search fields.

https://ibb.co/eepXRv

I hope this helps.

Thanks, Chetan

1 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on September 4, 2017 13:53

Thanks Dawid, my bad. I assumed custom page type :)

1 votesVote for this answer Mark as a Correct answer

Tomasz Sikora answered on September 4, 2017 13:57

I just wanted to clarify. Dawid is right. This is a Page Field.

Image Text

I'm afraid I don't understand the difference between page field and standard field. As far as I can read from kentico documentation I think that Page Field is a reference to some other page. But in case where I'm using Tag Selector as form control for this page I'm wondering if that makes sense.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on September 4, 2017 14:53 (last edited on September 4, 2017 14:55)

There are already tons of fields in lucene search index by default. Search Fields tab allows to add your custom fields to an index, on top of default ones. You can use Lucene Luke to browse a lucene index. Search fields like like page tags, categories etc already there and have default names:

Image Text

Get luke, check your index to see if the fields you are looking for are already there (I am pretty sure they are in there).

1 votesVote for this answer Mark as a Correct answer

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