I am attempting to create a Menu web part that will display just the description of a daily calendar event within the entire web part. Each day there would be a different menu, so ideally each day there will be a new description being displayed within the web part. This seems like a simple request, but I haven't been able to find any resources online that allow this. Basically I just want to show just the description of the calendar event for the day. Is this at all possible?
-SB
you would be required to create a dataviewwebpart and you have to tweeks its xslt so that it filters out the results for the day
you can refer the following post to learn basics of dataview weparts
http://sarangasl.blogspot.com/2009/12/sharepoint-list-web-service.html
Related
I have been struggling for weeks to populate an"Events" web part with the dates of a sharepoint list.
Apparently list date entries are not considered events, so I started to look for a flow to convert any new or modified list date entry into a calendar event. After days of search, I am giving up. I cannot believe that such a simple task is becoming so complicated.
If anyone can shed some light on this matter I would me more than grateful!
I am trying SharePoint for first time. So please be nice to me. Here is what I am trying to do.
Lets say I have a List where I have values as shown below
Lesson Days
----------------------
Tennis Monday,Wednesday
Swim Saturday
Golf Sunday,Saturday.
Above Days is lookup field that can take multiple values.
How can I modify the view to look as below
Lesson Days
----------------------
Tennis Monday
Wednesday
Swim Saturday
Golf Monday
Sunday
Saturday
Looks like we can code, but I have no idea how to do this.
Also it would be awsome if we have sequence number for multiple values. Something like this
Lesson Days
----------------------
Tennis 1.Monday
2.Wednesday
Swim 1.Saturday
Golf 1.Monday
2.Sunday
3.Saturday
Edit: Based on further search looks like I need to do Client side rendering. I found this link
SharePoint 2013 Client Side Rendering: List Views
I am still struggling to understand this. Need much simple example on how to do this. Will appreciate any hint/help on getting this started.
To start this might help. Using Sample 1, changing the field name and the render function you can easily get the view version without sequence.
If you want a custom order on the days you have to change the EditForm for your days field to change the way the user inserts the days. That will be the hard part since if you do so, you have to either get the values for the lookup field by urself (using the javascript client api or rest calls) or use the default sharepoint lookupfield and customize it (I would not recommend this). To save the custom values back to the days field this example will help (using the registerGetValueCallback function)
You can include your script with a script webpart on the view page/edit page or use the jslink property on the webpart property section miscellaneous to include a javascript file containing the csr code.
I have created a document library with about 20 columns for storing meta data. The client wants to have search on this metadata with a facility to filter the data based on two values. For example we have two date columns(efective date and termination date) and the results that they wanted to see is files which are having the values between effective date and termination date.
Is there any out of the box solution that i can use for this or should i build a custom webpart. If so, can someone please guide me through....
Create your document library, then in "document library settings" click "Metadata Navigation Settings".
This should give you what you want. You can specify which columns to filter data on. You can stack the filters and by default they appear on the left of the page for users to interact with.
Am relatively new to Sharepoint 2010 so apologies if this is a lame question.
On a public facing website with a search function from Sharepoint 2010 a search query takes you to a page http://www.site.com/searchCenter/results.aspx?k=searchstring
That page has a blue header with orange, a left column with refinements and then the search results returned in a central column.
Is there a way to change the ENTIRE look of that page to fit the look of the public site and embed the results returned into the page?
Thanks!
Yes, you will just need to modify the minimal.master which is the master page that the search site should be using. You should be able to make the search results page look exactly like the rest of your site if you want it to.
We have a Sharepoint website with a different page for each of our products and another page displaying a list of all our product release dates. You can change the view in this list so that only the release dates of a particular product are shown.
Is is possible to have a list view showing release dates of one product show up on the page dedicated to that product? We would like to have each product page show its own release dates, but if someone updates the master list, each individual product list should be updated as well.
You would want to use the dataview webpart to view a "master" list. You will be able to define a different filter for each webpart. With XSLT you are also able to completely customise the output of the HTML, but I prefer to use only one to avoid all the work.
A simple way to make the master list available on the product pages is to syncronize the content of the master list into a hidden list on the product pages, you could use a Event Receiver for this. This solution will require some custom code but it is pretty simple.