Year picker user control in sharepoint - sharepoint

I want to know is there any SharePoint native user control for year picker? I know there was another library like jQuery and other thing that do like what I want. I need SharePoint control for some localization issue.

There is no yearpicker control but you can use the SharePoint DateTimeControl for selecting dates or datetimes.
Unfortunately i think its rather hard to customize it to only select years. Therefor i would suggest to use an external lib for that or just use a dropdown with dates to select?
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.datetimecontrol.aspx

Related

SharePoint 2013 Create Only Time Column

I need to create a simple list column with the type of time and use it like a Start Time - End Time.
Recently, I found this sptimeonly and that's exactly all I really need. Unfortunately, looking at the instructions, I don't think it will work on SharePoint 2013 as it was obviously made for SharePoint 2010.
What choices do I have?
Do I need to develop some kind of custom field?
Is there any recommendation of where to start learning it? Kinda new to this platform, I'm sorry if these questions seem pretty basic.
Thanks!
I ended up using DateTime column with a default value of the Date set,
Then adding content editor webpart in the EditForm.aspx to embed css in order to hide the Date part.

Updating a SharePoint list from an InfoPath form

I am an extreme newbie to the SharePoint/InfoPath environment and I am stumped.
I have an existing list in SharePoint. I have created an InfoPath form that retrieves a column from this list and uses it to populate an InfoPath Multiple Selection List box. I also some additional date picker controls on the form to capture start end end dates.
I would like to do the following:
Select one or more items in the multi-select list box using the available check boxes.
Fill in the start and end date fields on my form.
On clicking the form's submit button, somehow have the form update the SharePoint list items corresponding to those selected in the list box with the contents of the start and end date fields. The "somehow" is what has me stumped. I've read that I can use web services to do this, but have no idea how to go about doing so.
The tools I have at my disposal are:
SharePoint 2010
InfoPath 2010
SharePoint designer 2010
I do not have access to Visual studio
Any ideas?
Here is a basic tutorial that walks through how to use InfoPath to update a SharePoint list.
http://www.bizsupportonline.net/browserforms/update-sharepoint-list-items-object-model-infopath-browser-form.htm
I don't use InfoPath much but it looks like it requires a bit of coding that you'd need to do in Visual Studios. I am not sure how well an InfoPath form will work to update multiple SharePoint list items.
Here is a link to another Stackoverflow question that is similar.
https://stackoverflow.com/a/14287616/1594166
Did you know that you can link MS Access to a SharePoint list and then you can write a query to update the rows like a table? Using a form and some VBA you could build a custom SQL string and execute that based on selections from the form.
When using an InfoPath form using a list, you can go to the list itself, then click on list, and then customize the form. From this you should first be able to:
a. Create the columns needed for the certain list (this would contain the start and end dates etc. on your end)
b. Have Microsoft InfoPath 2010 installed (i'm guessing you already have this)
Since you already have the columns on the list, you can just click on customize this form and infopath will open and you would be able to customize your own form from there.
Another option is to use the DataSheet view in SharePoint. This provides the ability to filter, sort and update lists. It may be sufficient for your purposes. It requires MS Access to be installed but if you're using InfoPath then you presumably also have Access. If that doesn't work then I would second #AxGryndr's approach of linking to the list from Access and using a query to perform your bulk updates.
InfoPath is probably not a useful option for the requirement you've described. Out of the box InfoPath integration with SharePoint is fairly capable but has limitations that make it unsuitable for more complex requirements without integrating third party tools (Qdabra's qRules) or Visual Studio.
Simply create one or more workflows on the InfoPath form library that use the form data to create other list items on different lists as required. These workflows would trigger when a new item is created on the InfoPath form library.

Sharepoint 2007 Count Modifications View

Is it possible to create a list view that contains a column for how many times a document has been modified? I would also like a "Total Modifications" value that sums the modifications from that column.
I am new to sharepoint. If this is possible, where should I start looking for the information on how to achieve this?
Turn on versioning control in the document library settings and edit the views to include [version]. This will only work going forwards of course.

Sharepoint webpart for conditional formatting?

Does anyone know of a Sharepoint webpart that provides conditional formatting?
For example, if I am displaying a table, I would like to be able to change the backcolor of a row if a specific numeric cell exceeds a certain value.
Of course this could easily be done in jQuery, but for political reasons I need to find a way to do it using a webpart. 3rd party commercial solutions are certainly acceptable, and likely preferred.
Why not use the data view web part 2007, 2010 you can get from SharePoint Designer? You can set conditional formatting properties from there, or if you need more complex formatting you can edit the xsl manually.
I'm afraid I'm going to have to shamelessly self-promote. We've got a product coming out soon that does cell and row based conditional highlighting, and may or may not have many other features that I'm not allowed to express any opinion on that aren't directly relevant to this question.
Here's the pre-release post:
Pentalogic Highlighter
I wouldn't normally post such things, but your requirements are too good a match to not mention it.
Edit: I should officially make note my affiliation with the product: I helped develop it.
Edit edit: Here's the release post (since it's now actually a useful answer).

Sharepoint 2007 : How to set column level permission?

I would like to set the column level permission on list in Sharepoint 2007. I would appreciate help.
Example:
I would like to employee to fill other information in the form but not allow them to change the salary. Only admin can change certain fields.
You cannot do that.
SharePoint does not support column level security.
You would need to extend SharePoint to achieve this...
Take a look here.
http://code.msdn.microsoft.com/SecureField
Correct, there are no Column level premissions for SharePoint. However, a nice an easy workaround that I use all the time for this scenario is to create Custom List Forms and use the "display" option for the column to do not want users to edit. You then create an Edit form where the fields are editable for those that are authorized to edit the entry. Hope this helps.
I'm going to go out on a limb here, but I don't believe you have the ability to control permissions on individual columns in SharePoint 2007. At least I haven't heard of it. I browsed through list definitions and permissions but I didn't spot anything.
Another 3rd party tool is Sharepoint Column Protector by Datapolis. More details on the tool is discussed here (How to apply item level permission for sharepoint columns).
This is a common request for many SharePoint users, but MS does not provide. You can try 3rd party tools, such as BoostSolutions Column/View Permission and …

Resources