Tag Info

Hot answers tagged

4

.webpart files are XML. Open it with Notepad or your favorite XML editor. See Web Part Properties - part 3 - the .webpart file by Wictor Wilen for an example.


3

Well you can do it ,but you will need to write all your code, and create the structure for the webparts yourself. If you use Professional or Ultimate you will have access to the SharePoint templates that will greatly improve your developing experience when for example creating apps. If you want to use Express you would need to reference the ...


2

The requirements are of course to update your master page to support HTML 5 (obviously you'll have to use any modern browser to get the benefits of it). The limitations most important are due to the META tag and DOCTYPE (http://klines.org/sharepoint/sharepoint-2010-html5-and-ie9-compatibility-issues/) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...


2

Okay let's go over everything to do with WebParts see what you are missing out 1) Types: .DWP is version 2 webparts .webpart is version 3 webparts Reading the dwp/webpart file will tell you the version of the webpart even if the extension is wrong xmlns="http://schemas.microsoft.com/WebPart/v2" Once you have determined this then you need to enter your ...


1

I dont know why your getting the comma in the first place! you realy need to debug your code and see the varibles in real time to assess where its being placed! a work around if its an issue and you cant fix it you can use this: private string removeComma(string com) { //return the last character of , int index = value.LastIndexOf(","); ...


1

As the link you provided, you can choose to use the Content Query Web Part. You can choose your list as the source, and then make a query to display the specific rows you want to show. The default presentation template for Content Query Web Part might not display the list as you want (for example, not enough columns). But you can add more slots in or ...


1

As you have discovered SPLimitedWebPartManager is not availabe on Sandboxed solutions. Snippet from Waldek Mastykarz blog: Inconvenient provisioning Web Parts instances from Sandboxed Solutions One of the challenges when working with Sandboxed Solutions is how to provision Web Parts instances to pages. If you have done this before in a Farm ...


1

A web part is for displaying content, not to provide a content repository for other components. A few options: Perhaps you don't need a web part at all, just create a list and store the image there. Perhaps you also need a web part. Create a list, store the image there, and reference that image from the web part. Other components could then also reference ...


1

If its just about getting webpart content from an accessible page within same domain, I dont think you will need a webservice for it. You can place your webpart within a div (id=container) and use below Jquery : $('#result').load('sitepages/test.aspx #container'); When this method executes, it retrieves the content of sitepages/test.aspx, and then jQuery ...


1

I have seen a similar issue in the past that as due to an errant SharePoint Designer workflow that would double in size each time it was invoked. The workflow was up to almost 1GB before we were able to stop it. Microsoft was never able to find the issue but we had to remove all traces of the workflow before the problem fully went away. The performance ...


1

i solve the mistake i was using UserControl myUserControl = (UserControl)Page.LoadControl("~/_controltemplates/MyWebPart/MyUserControl.ascx"); whenever i was needing to use, MyUserControl myUserControl = (MyUserControl)Page.LoadControl("~/_controltemplates/MyWebPart/MyUserControl.ascx");


1

please follow this to get/set webpart properties! Question about webpart properties also like to note that every time you do a refresh the properties are reset ;) so what you want todo is not set anything in the ascx page but rather within the webpart itself! any hoo as you requested (NOT the above method but sticking to (parent to ascx)): in your ...


1

I worked on a project embedding JWplayer and Flowplayer into SP2010 and we had some great success with it (it became a product, http://www.ramp.com/solutions/enterprise/, I am not a sales weasal or getting comission ;). We haven't had anything break SP yet, but I don't know how custom the CSS was for our player. I handled the SP side, and another developer ...


1

You have two questions here: 1) You can display the page via a Page Viewer Web Part. It renders as an <iframe> tag. See Page Viewer Web Part 2) You might want to look into External Content Types and Business Connectivity Services, but this will require custom code. So if that isn't an option for you, you're probably best off sticking with option 1.


1

I would not see this possible as most like your VB end-result is and EXE which just per-se is not possible to upload in SharePoint libraries as it by default a restricted extension in SP-CA. So besides the fact that is totally against what collaboration is meant for, but even so, it is a desktop application by definition, and even if you somehow bypass that ...


1

There is a javascript API for Visio but it does not allow you to insert new objects. Not sure about a real code solution. JSON can certainly be used. Even without real code, I usually create a script which I can either insert directly into a page or link via a Content Editor web part. The main limitation I have experienced with Visio is the size of the ...


1

SPSecurity.RunWithElevatedPrivileges(delegate() { // get the site in this context using (SPSite SiteCollection = new SPSite(mySiteGuid)) { // get the web in this context SPWeb myWeb = SiteCollection.OpenWeb(myWebGuid); myWeb .AllowUnsafeUpdates = true; // Hide/display another webpart. ...


1

Yes it is possible, only users with Full Control, Design or Contribute permission can only add or remove webparts as demonstrated in picture below, Source Don't forget about custom permissions levels.


1

I suggest you to use BDC (Business Data Catalog) in Sharepoint 2007. BCS is an upgraded version of BDC in Sharepoint 2010. So since you are using 2007, you should look for BDC. You can use the BDC Web Parts to View, Update, Create, Delete items to the database. Here is a tutorial to get you started: ...


1

I must say is rather dificult to provide an exact resolution to such an issue as long as we do not know what's inside the HTML. On the other hand pasting the full HTML in here is not feasible either, but I would suggest you validate the logic within the source HTML and eventually either try to separate the logic into multiple functions which you would call ...


1

I have a 3 part blog post explaining how to do a dropdown using XSL from a list - you could build your own in less than an hour. http://paylord.wordpress.com. The example I used does not have sort but you could easily add a number SortOrder column and sort the view the web part.


1

It may well be a bug, but for fellow travellers, I found this in TechNet: http://technet.microsoft.com/en-us/library/jj683123.aspx Dealing with spaces in values Search queries use the space character to tokenize query values issued by users. When a query variable is expanded to a value that contains a space, the complete value is enclosed in ...



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