We're currently building a sharepoint 2013 site but the need to create a custom view style has now become apparent. When viewing documents, the following features would be ideal:
The ability to specify conditional colour values based off dropdown
values.
The ability to add additional styles to a list view - table padding
etc.
The ability to show additional content to a list view - table headings
etc.
As a short term solution we've enabled a thumbnail image to be chosen when a document is added, but this is less than ideal - especially for the client.
We can't seem to find any documentation on how to create a custom view style anywhere so your knowledge would be greatly appreciated.
Thanks!
P.S I should note that:
We only have access to Sharepoint Designer 2013 and not 2010.
We cannot use any external JS libaries.
I think there are no poor or stupid questions. But styling in SharePoint is a wide area. The prefered way for styling and customizing is JSLink, here is a basic tutorial that might help:
http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1.html
Related
I am looking to set up a home page for our group in SharePoint that essentially has four areas. I kind of foresee four columns of accordion menus. The problem is that not all the items under the drop down will have web page links.
Is this possible to do? Is it possible to add icons at the top of each column to represent what the areas are? I am pretty new to SharePoint design and am taking a class but my boss is wanting something like this done to make it more user-friendly.
I would prefere to use the jQuery or another JavaScript driven accordeon to solve your problem. You can fetch you item the through SharePoint REST API or JSOM.
There are also a lot of examples out there but too long to copy in here:
HOW TO CREATE DYNAMIC ACCORDIONS IN SHAREPOINT PAGES
CSR code samples #6 (Accordion)
Customize the rendering of a List View in Sharepoint 2013: Displaying List Items in Accordion
I need to add an ability for users to add custom views for a Survey List. Using Designer is not an option.
In order to add a new View I now open the standard SharePoint form "/_layouts/ViewNew.aspx?List={SurveyListID}".
I setup a new view selecting the fields I want to see. Then, when I look at this View it looks like standard "{SurveyTitle}/overview.aspx" view no matter what I do. But I need it to look more like a SharePoint list view. I've seen dozens blog posts where people used this method and no one mentioned any problems like I am having. I've tried this method using 3 different SharePoint farms and I get the same behavior.
I was able to create a view that works OK using Designer by copying "All Responses" View and editing . However, forcing users to use Designer is not a great idea.
Does anyone know an easy method to force my custom views to display properly in Survey List?
Finally, I've found solution.
Open the page /_layouts/ViewType.aspx?List={SurveyListID}
Create a view based on "All Responses" View
Done! No need to use Designer
First off, please bear with me. My question concerns more specifically with custom lists, custom code inside Sharepoint 2007. My experience is more with applications that work outside but access data (Client Object Model) in Sharepoint 2010.
At work I was recently tasked with the following request:
Create a custom announcement board where everyone can create an announcement but only admins and creators can edit it.
The main list page was going to provide a summary of the details, title and an icon that depicts the type of announcement (gif of a baby if birth announcement).
Upon clicking on an announcement, a detailed page containing more detail of the announcement and up to 4 pictures will be displayed.
When entering data the pictures can only be a maximum size.
Here is how I was going to attack this. I was going to create a Custom List that allowed for the addition of Picture columns and all the other columns I required. I would then modify the NewForm, EditForm and DispForm pages to meet our requirements. Picture size would be controlled through Javascript of Jquery on the page. My question to you experts out there is does this sound feasible? Is there a better way?
Thank you for any help
I wouldn't edit the list forms - not in this case at least. One way you could build this would be as a publishing site. You can create custom page layouts to suit the design of the announcements. There would be a bit of work to build it into a polished solution. Depends on how far you want to go.
Sharepoint designer is not allowed. The forms must contain fields with references to list items but may contain custom asp controls as well, which we whish to use later in the process.
The target isn't always to replace the original new, edit and display forms but to create extra forms too. Currently, we create custom forms by copying the existing base forms and edit them by hidding the zonetemplates and add our custom fields below. It aint the most elegant way, but at the moment the best result we have so far.
I would like any suggestions.
If developer tools ar not allowed, you might want to consider Infopath.
Also, SharePoint comes with a Form Web Part that you could include in your page.
I'm not sure this is possible, but figured I´d give it a shot. First a few pre-requeistes and environment details:
I´m using SharePoint 2010, SharePoint
Designer 2010, VS 2010
I want to create as little code as
possible, preferably, create it all via UI or Designer
use out of the box components as much
as possible
Here is What I want to do:
Have a custom list with custom columns (easy part)
Create a webpart with an edit interface to select a single item from this list
This same webpart when visible would display the contents of this selected item in a given layout
I know I can do this creating a custom web part and code it all from scratch, I guess my main question is, is there a way to do this with less code and more out of the box components in SP2010. If not, I guess I'm left with lots of C# code.
Any tips, or pointers in this direction will be most welcome. Thanks in advance.
I think what you're looking for is the Data Form Web Part.
Unfortunately, I can't find any good tutorials for 2010, but hopefully the steps should be similar to setting it up in 2007.
Thanks all for the update. In the end, i had to create quite a bit of code to get this to work:
created a web part that enumerates
the content type,
creates a light box that has a picker
then stores the ID of the content in a column
Not the easiest way,but the only way I could get it working. Thanks again!