Adding an enterprise keyword value from search results using hover panel - sharepoint

SharePoint Enterprise Search is crawling SharePoint 2010 content and returning the expected results.
The requirement is to add "Enterprise keyword" value from the search results page for the selected document using the Hover panel. Each document already contains the metadata field (Enterprise Keyword).
By modifying the Search Display Template in SP2013 a hyperlink has been added in the Hover Panel as shown below.
When the "Add keyword" hyperlink is selected from the Hover panel it is required to populate the 'Enterprise Keyword' field with predefined value.
Help with an approach to achieve the above functionality (with references) greatly appreciated.

Related

Sharepoint Document list edit

Is there anyway to edit a column in a document library? directly from the list view? So in Review Completed column below, just toggle the value rather than clicking on edit?
I noticed this is a modern page, you may have a try Field Customizer extension.
Below is a sample:
React Toggle Field Customizer

Creating a sharepoint 2007 search for a list (results only from that list)?

I have been researching this for some time, and have not been able to find a solution. I would just like to have a search bar that when an ID is entered, the search will return all the list items that have that ID.
I'm sure I am leaving out details (as I am a sharepoint novice), but any help would be greatly appreciated.
What you need is not search, but filter.
In the view of you library, follow these steps :
Put the page in edit mode
Add a web part "Text Filter Web Part"
Open its tool pane
Name the filter, "IDFilter" for example, and validate
Still in edit mode, select "Modify shared Web Part" --> "Connections" --> "Send filter values to name of your library"
Choose the field that holds your ID and click "Finish"
That's it. You can now type the ID in the field, and it will dynamically apply a filter on the ID field.
That said, you should post you future questions on http://SharePoint.stackexchange.com. this is a SharePoint dedicated stackexchange site.

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

Drop down list filter web part in Sharepoint is not getting exported

I would like to implement filtering on my sharepoint list. My list is having title and description columns and I would like to poulate the ASP.NET dropdown list control with titles and when I select the title I would like to show the description. I have followed the link http://msdn.microsoft.com/en-us/library/cc300163(office.12).aspx to implement this.
I have created a blank aspx page in Sharepoint Designer and followed the same steps. everything works fine but when I export the webpart, only description part is getting exported. I cannot see the drop down on the page (but when I preview it on the browser I can see both).
In your question you say that you are creating a aspx page and then exporting a webpart.
It could be that you are placing the drop down on one thing and exporting another.

Multiple select drop down user control or field control

I want to use multiple select drop down user control or field control on my page layout and I want to pull list items from list and show it on page layout in Sharepoint.Does anyone is having idea how to achieve this.
Thanks,
PS
In SharePoint Designer, go to:
Insert, SharePoint Controls, DataView
on the DataSource Library panel, choose a list and click "Show Data"
Drag and Drop a few fields from the Data Source Details
go to the Toolbox Tab in the same panel as Data Source Details and choose: "Data View Checkbox List"
Configure as you like
Edit based on your reply
If I understand your reply right, how about you have a Yes/No column(field) in your list named "IsVisible" with a Custom View where only items WHERE IsVisible Equals Yes on the web part and the Administrator will just edit the list and change the value for the Visible field.

Resources