Multiple select drop down user control or field control - sharepoint

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.

Related

SharePoint DropDown List Filter

I want to be able to filter a SharePoint list based on the values present (easy by clicking the filter button at the top of the list for each column). However I'd like to give options in a drop down menu and once chosen the list would be refilted based on the options I give. Is this possibile to do in the browser or would it require designer or actual code? Thank you.
This is all SharePoint 2010 Enterprise Server knowledge; I've never used 2007.
What #Ryan is alluding to here is that you can click a down-arrow on most list columns to filter them. One caveat is that if the column is multi-select, it won't display a drop-down. (SharePoint doesn't know how to group, filter, or sort on multi-select columns.) Another caveat could be that if you're displaying the list items in such a way that their headings don't appear (such as in a List View web part, or maybe in some of the styles...) you obviously won't be able to filter.
A solution might be to use a "SharePoint List Filter" web part, which uses a list column as the source for filter values which can then be sent to other web parts -- such as a List View web part. Presumably, you could use the list you're intending to filter as a source for the Filter web part itself. From a UX perspective maybe this might help you display the list with different styling, but still get the drop-down filter directly in the content area.
A caveat with the "SharePoint List Filter" web part is that it's not actually a drop-down per se, but instead shows a little filter icon that pops up a dialog in which users then have to select a value.
Note there's also the "Managed Metadata Navigation" feature that would give users dropdowns (for e.g. choice columns) and metadata filter fields (for managed metadata columns). These show up in the Quick Launch (left-nav area) if configured on the list/library settings. The feature must first be enabled on the 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.

InfoPath non-editable fields

I've created a simple list in SharePoint 2010. It has a couple of text columns and a couple of integer columns.
I click "Customize Form" from the Sharepoint Ribbon
InfoPath 2010 is launched
I make the form look nice and ensure fields are bound to correct columns
I upload the form back to Sharepoint
When I click to "Add new item" my InfoPath form is displayed. However only one of the field is editable. I can click into the other fields but when I hit the keyboard - nothing!
Any ideas?
Thanks
Rob.
.
The fields in question might have been set to Read-only. Double-check using the following steps:
Use "Customize Form" again from the Sharepoint Ribbon
Right click each Control in question
Click Properties
Click the Display Tab
Ensure that the Read-only checkbox is unticked.

Custom column in list

Can any one tell me that, Is is possible in wss to have our custom column in a view of list. The way how we are adding edit and delete column in asp.net grid by setting autogenerateedit button property to true. I have to write my custom login on click event of that button. This action is going to be common for all list items.
Thanks
Sachin K
I am afraid that it is not possible out of the Box in SharePoint (WSS / MOSS). If you want to have such an option, you might need to create a Separate page that will have code to do the opertion. Try out the SPGridView and SPDataSource.
Else I would suggest (Recommend) you to have a look at the DataSheetView option provided by the List, it will list List item details as all editable format, like Excel sheet.

How to disable field list at runtime in performancepoint?

I have a dashboard that I am displaying, and whenever my users click on a pivotchart or pivottable the field list automatically pops up. How can I prevent this from occurring?
If you wish to use ad hoc analysis tools such as pivottables and charts in a dashboard like this, the field list will always appear.
If you are able to use static data then render it out to that format and replace what you currently have with it.
Edit the chart in Dashboard Designer. In the Commands and Options dialog box select Chart Workspace in the drop down list. Once you do that, the tab Show/Hide should appear. On that tab you can clear the checkbox for the Fields List. Clear any other checkboxes in that dialog, and close the window. Click on your chart in DD and make sure the fields list (and any other dialog boxes - ie Commands and Options, Drop Zone, etc) don't appear. Publish your chart and you should be good to go.

Resources