Tag Info

Hot answers tagged

12

Let me see if I can explain pages in SharePoint without making you even more confused. The difference between the different kind of pages very much depend on whether your view is as developer or as end user. As you're refering to MSDN I'll start with the developer view. SharePoint Pages from a developer point of view From a developer point of view there ...


5

You can add it as a listview webpart. Following are the steps: Edit the page Click on Add webpart. Click on lists. Select the list to be added to the page. Reference


5

I have managed to make this work by combining the information here and here. To enable the bookmark functionality you need to get an admin to enable SharePoint Server Publishing Infrastructure feature on the site collection level and then the SharePoint Server Publishing feature must be activated on the site level. Start by selecting the text that you ...


4

Yes, it's possible. I had a blog post on this very topic, but the blog site has since been deactivated. Basically you do it like you would add a web part to any other Web Part Page. When it's time to specify the zone, use the "wpz" zone. Also, you need to add some markup to the Page's "WikiField" that resembles this (substituting your Web Part ID Guid ...


4

You can use a "Wiki Library" that houses wiki pages - in this library's settings, there is a field called "wiki content" by which you can display the content without all the surrounding navigation. Try the following: Add the Wiki Web Part associated with your Wiki library, then Configure it to only display "Wiki content" and filtered for the name of the ...


2

Wiki page is like wikipedia pages. We allow user to edit the pages. Application page is the page which we can use the same page in different site collections or websites. Suppose if we want to show custom error page with nicely designed interface in each of our site collection then we can create an application page and give the redirect url to that ...


2

This generally boils down to differences between Word's way of representing a document and HTML/CSS's approximations of such. One of the big areas they differ is indentation - SharePoint does its best to migrate the formatting but it doesn't always work. There are a couple things you can do about this: Use another tool to convert the document into ...


2

In SharePoint 2010, Microsoft added a new service called AddWikiPage to the Lists web service. With a little bit of Visual Basic code, you can use the XMLHttpRequest object provided by Microsoft's XML SDK, to add new Wiki pages with custom content. Add a reference to "Microsoft XML, v6.0" in the Tools -> References menu in your Visual Basic Editor, and ...


2

You can provision a view to a page by using a module The example below will provision a list view web part on the default.aspx page into RightWebPartZone using the list view with BaseViewID=3 for list with url Lists/MyList <Module Name="MyPages" Url="$Resources:cmscore,List_Pages_UrlName;" Path="pages"> <File Url="default.aspx" ...


2

Edit: That dialog cannot be changed for an individual library. It's the default new page dialog for the whole site collection. You would need to write code to change that. Out of the box, just create the page, then click the Page ribbon and use the "Edit Properties" command to set the required fields. In this question a code solution is linked, but it ...


1

Create a Wiki page Library (ServerTemplate=119) and use Wiki Page content type there. After you get that working try adding the other content types to this wiki library.


1

Courtesy of Microsoft tech support, this article - Programmatically Provisioning Wiki Pages with Content and Web Parts in SharePoint 2010 - gets me much closer to what I wanted in the first place: a way to provision a WikiPage with code and some clear markup. I'm going to give this a spin in the next few days. Since the above seat-of-the-pants method ...


1

Take a Look to the sharepointwikiplugin Project on Codeplex. I'm using this to convert our Word Documention in Sharepoint Wiki pages. https://sharepointwikiplugin.codeplex.com/ (Note that I am the creator of the plugin)


1

There are many ways to access content in SharePoint 2010, the main problem you have to face would be authentication. Assuming that is out of the way you have essentially: SOAP Web Services (located all under _vti_bin) - see here http://davidsit.wordpress.com/2010/03/03/creating-sharepoint-list-items-with-php/ ListData.svc - REST based API allows for ...


1

It does not look like it is possible to add anchors to the SP2010 wiki link shorthand. However, if there is an option to hook a javascript function to your wiki site masterpage, this SO item suggests a javascript that looks for: "/__anchor". Note the author's comment on how to load the script. Note also, the script uses jQuery. As for info on links on ...


1

SharePoint Designer has the setting "Hide from Browser' to hide the List/Library from browser. It only restrict the user to view the List/Library links from browser,but if user directly use the URL to reach that List/Library and the user can edit or add new items. Better set the ready only permission to users and set the "Hide from Browser" to the Site ...


1

In SharePoint Designer 2010 there is an option to hide the list/library from the browser. I'm not in front of SharePoint Designer 2013 right now, but I'm fairly certain that it exists there as well.


1

A content type defines which columns are included in a list or library item. Content types can be defined at the site level, site collection level, or in a centralized Content Type Hub if the Managed Metadata Service is running. I believe what you are after is rather a site template: Create a site, add lists, libraries. Add content types to the list and ...


1

CSS classes and attributes of RadEditor and SharePoint HTML editor are different for the DIV that can be edited. I think, by removing SharePoint classes and attributes from this DIV you can keep RadEditor and vise versa. Try this jQuery plugin for removing SharePoint editor from a DIV: (function ($) { $.fn.SPNonEditable = function () { return ...


1

How to create a Wiki page via CSOM /// <summary> /// Create Wiki page /// </summary> /// <param name="pagesList">Wiki Pages list</param> /// <param name="pageName">Wiki page name</param> /// <param name="pageContent"></param> public static ListItem CreateWikiPage(List pagesList, string pageName, string ...


1

Ah, here is a way. The idea is that the user using the wiki editor will create a new hyperlink and use a special token to denote an anchor. In my example, the token is /__ I chose that because the hyperlink has to start with something that the editor would accept - and it will accept a /. Also, because it is very rare to see a hyperlink with /__ anywhere ...


1

You Can change Master Pages, and from this You Can change Layouts. You Can change Layouts in Microsoft Sharepoint Designer, or in Visual Studio. And here You have a Example in Sharepoint: http://www.dummies.com/how-to/content/create-a-new-wiki-content-page-in-sharepoint-2010.html And here is how to do this by Visual Studio: ...


1

I find it depends on your content. If your pages are going to be really text heavy, and you don't need much flexibility in terms of placement of your web parts, go with the Wiki Page. Wiki Pages allow direct text editing without the need to keep dropping Content Editor Web Parts. Web Part Pages have more options in terms of web part layouts (in the form of ...


1

Insert this at the bottom of your masterpage before the </body> end tag: <script type="text/javascript"> $(document).ready(function () { $("div[RteRedirect]").each(function () { var id = $(this).attr("RteRedirect"); editSettings = $("#" + id); if (editSettings.length > 0 && ...


1

This might not be exactly what you're looking for, but it's a bit closer: Try appending ?IsDlg=1 to the URL (or &IsDlg=1 if the URL already has a query string) when using the Page Viewer web part. You'll end up with a horisontal bar along the top but that might be ok for your requirements.


1

Many thanks to rjcup3 for the help. I ended up using the approach described here: http://sharepointstruggle.blogspot.com/2011/10/programmatically-provisioning-wiki.html. Basically, it involves creating an XML file with the contents of the wiki page, and then exporting each of the web parts on the page from SPD and referencing the resulting .webpart (.dwp) ...


1

Have you tried saving the site as a template and exporting the .wsp? Then you can upload the .wsp to the solutions catalog on the target environment and use it as a site template to deploy the page layout. To save the site as a template go to Site Settings > Save site as template. Easy as that. The .wsp will be stored in the solutions catalog which can be ...


1

Below Code Reads the SiteUrls from Text file called SiteUrls.txt, and add library called "Oct Invoicing 2014" to the Wikipage called "Billing_Req.aspx" Here we are taking variable i to check for the library already present on the page, if present we are incrementing i to 1 and else its default value =0 If i=0 means webpart is not present on the page and it ...


1

If default Permission levels are in place having the "Edit Page" visible in the menu already means you are Contributor which also means you should be able to Create Pages. As "Manage Content and Structure" is visible also means that you most likely work under a Publishing Web or at least the Top-Level site is a Publishing Site. Manage content and structure ...


1

SP2010 wiki page content field is called WikiField. Drop the ows_. $item["WikiField"]



Only top voted, non community-wiki answers of a minimum length are eligible