telliot79
asked on
modifying sharepoint search results
Experts:
I have a BDC that crawls a bunch of emails that my users can then search on. The search results allow the users to a profile page for BDC where they can then download a copy of the email message. I'd like a copy of the "Click here to Download" message that appears on the profile page, on the actual search results to save my users that extra mouse click.
Can someone provide some guidance or a "how to" that will help me accomplish this please?
Thanks in advance for the help.
I have a BDC that crawls a bunch of emails that my users can then search on. The search results allow the users to a profile page for BDC where they can then download a copy of the email message. I'd like a copy of the "Click here to Download" message that appears on the profile page, on the actual search results to save my users that extra mouse click.
Can someone provide some guidance or a "how to" that will help me accomplish this please?
Thanks in advance for the help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks JamieMcAllister.
I think I'm almost there. When I look at the download link URL, I'm getting this:
http://sharepointdev/_layouts/DownloadExternalData.aspx?
EntityNamespace=EmailBCS.B dcEmailCli entLevelPe rmissions_ &
EntityName=EmailMessage&Lo bSystemIns tanceName= BdcEmailCl ientLevelP ermissions _&
StreamAccessorName=EmailMe ssageStrea m&IsXmlEnc odedStream Name=true& ItemId=__b g010013003 3008300830 0
I need to create a managed property for the ItemID, but am not sure exactly how to do this? it doesn't seem as simple as your example. any ideas?
I think I'm almost there. When I look at the download link URL, I'm getting this:
http://sharepointdev/_layouts/DownloadExternalData.aspx?
EntityNamespace=EmailBCS.B
EntityName=EmailMessage&Lo
StreamAccessorName=EmailMe
I need to create a managed property for the ItemID, but am not sure exactly how to do this? it doesn't seem as simple as your example. any ideas?
Can you confirm what version of SharePoint you're using?
ASKER
2010
I've a fair amount of experience adding Managed Properties in 2010 (as in I've done it on several installations). What specific issues are you having? Struggling to find the property?
There's some good links from this article;
http://searchunleashed.wordpress.com/2011/08/24/understanding-crawled-properties-managed-properties-and-full-text-index-part-1/
Happy to answer any specific issues you're facing.
There's some good links from this article;
http://searchunleashed.wordpress.com/2011/08/24/understanding-crawled-properties-managed-properties-and-full-text-index-part-1/
Happy to answer any specific issues you're facing.
ASKER
yep, exactly, I can't find the property. let me get back to you because I think I might be able to figure this one out. Thanks for the help so far.
ASKER
Hi JamieMcAllister:
I can't find the ItemId in my Managed Properties list, so I've gone ahead and created it. I'm not sure how now to map it ItemId. How do I know which crawled property to map it to?
Thanks,
I can't find the ItemId in my Managed Properties list, so I've gone ahead and created it. I'm not sure how now to map it ItemId. How do I know which crawled property to map it to?
Thanks,
ASKER
in this specific example from msdn, (http://msdn.microsoft.com/en-us/library/office/ff634782(v=office.14).aspx) they're doing exactly what I'm doing apart from my BLOB is an email stream. in the example, how would I get the "click here to download" link for the document in my search results? Is this possible?
Could you post what the markup behind the "Click here to Download" link actually looks like?
It may be you just need an item id that you have already. But I need to see to comment.
It may be you just need an item id that you have already. But I need to see to comment.
ASKER
I've attached the XSL code that should have everything. Let me know if this helps.
Thanks again.
Thanks again.
ASKER
did I forget to attach?
bdc-xsl.txt
bdc-xsl.txt
http://techmikael.blogspot.ch/2014/04/solution-to-displaying-attachments-for.html