I have an old umbraco website where am using XSLT Search and now the client wants to add a new categories under the Media Sectio where he will be adding new documents like pdf, docs and ppt.
In addition to this the client wanted a field with the Media Type where he will be able to add some text associated to the file which in other words will make search possible.
My question is how do i get XSLTSearch to search for the text enter with each file? I added this in my xslt but doesnt work at all.
Is the document type created in the content section? I'm not sure that XSLTSearch can be used for searching nodes in the Media section so if it's not content that is published from the content section I think it's a "no go"...If it's content nodes then it should be possible.
Asuming the above property name you've added belongs to a content node then I would check to see if has been hidden for navigation perhaps? Have you also remembered trying to refresh the xml cache?
XSLTsearch only searches within Content xml. Since media info isn't in the xml it isn't searched (you could use Examine to do it though)
However, with XSLTsearch you could make this work but you'd need to store info in the content tree. Basically, create a docType with the documentMeta details and an upload (or media picker) property for the file itself. I'd probably make a separate section of the content tree to keep things organized. That would be searchable by XSLTsearch.
Unfortunately the document Type created is in the Media Type used to upload files (docs, pdfs, etc).
Here i cant store infos in the content tree since the content node is only picking all files from media folder. So basically i cant expect the client to add a new text everytime he will upload some files in the related media folder.
XSLT Search within Media
Hi Guys,
I have an old umbraco website where am using XSLT Search and now the client wants to add a new categories under the Media Sectio where he will be adding new documents like pdf, docs and ppt.
In addition to this the client wanted a field with the Media Type where he will be able to add some text associated to the file which in other words will make search possible.
My question is how do i get XSLTSearch to search for the text enter with each file? I added this in my xslt but doesnt work at all.
DocumentMeta is the Alias for the added TextBox Multiple for the Media Type Document.
Any suggestion please?
//fuji
Hi Fuji
Is the document type created in the content section? I'm not sure that XSLTSearch can be used for searching nodes in the Media section so if it's not content that is published from the content section I think it's a "no go"...If it's content nodes then it should be possible.
Asuming the above property name you've added belongs to a content node then I would check to see if has been hidden for navigation perhaps? Have you also remembered trying to refresh the xml cache?
Hope some of these pointers help.
/Jan
Hi, Fuji,
XSLTsearch only searches within Content xml. Since media info isn't in the xml it isn't searched (you could use Examine to do it though)
However, with XSLTsearch you could make this work but you'd need to store info in the content tree. Basically, create a docType with the documentMeta details and an upload (or media picker) property for the file itself. I'd probably make a separate section of the content tree to keep things organized. That would be searchable by XSLTsearch.
cheers,
doug.
Hi Jan/Doug,
Unfortunately the document Type created is in the Media Type used to upload files (docs, pdfs, etc).
Here i cant store infos in the content tree since the content node is only picking all files from media folder. So basically i cant expect the client to add a new text everytime he will upload some files in the related media folder.
So Examine should get this working right ?
HI Jan/Doug,
I did set up Examine but do have some issues such as case-sensitive or even getting to get the Url of a media from search results.
Is there someone whou could help me out please. I have posted a threat here but no answers.
//fuji
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.