Maximum number of columns in edit form in sharepoint 2010 - sharepoint

I have a list which is having around 75 columns in it. The edit form of this page is customized using sharepoint designer and 70 columns are visible there. Now the task is to add 30 more columns in the edit page. I added all those columns in list but when I edited the edit form to include the 30 columns after a point the webpart is showing the error.
"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."
I commented the field I added, then page is rendering in browser. I want to know is there is any limit to the edit form? if yes, how much is that.
If you need any more information, pls ask.

A hot fix is available from Microsoft to resolve this issue. You need to log a call with them and ask for sharepointfoundation2010-kb2597136-fullfile-x64-glb.exe.
After installing it, use the below Powershell script to make the changes to the Timeout value. Changing it to 2 seconds worked.
$farm = Get-SPFarm
$farm.XsltTransformTimeOut = 5
$farm.Update()

Another workaround for this is setting the "AllowPersonalization" property of the Web Part Zone to true. This error occurs when the "AllowPersonalization" property of the Web Part Zone is set to false and a user with less privilege tries to access the zone. This leads to the WebPartPageUsageException. This could be overcome by just setting the AllowPersonalization property to true.

Related

SSRS time out issue

I have created a SSRS report in SharePoint and its uploaded in to the SharePoint library. While running, its working fine. It taking less than 10 seconds to load the report. But If I kept the report in idle mode for the next 5 minutes, then I tried to enter the text in search box in report tool and then clicked find. But instead of displaying the result, it loads the report again. And If I pass the search criteria, it will works. So My assumption is that, it would be the problem of time out. So can you guys advise me where can I update the time out value to avoid this issue?
If this is SSRS SharePoint integrated mode I guess something should be available in Central Admin to which usually developers might not be having acces atleast in prod environment. Check with the administrators who manage your farm.

How to make full backup of Sharepoint Online?

Is there any way to make a full backup of Sharepoint Online web site based on Office 365 without third-party tools? Tried to google it, but found only ways to manually backup list or libraries. I'm need to save user properties, permissions, webparts, etc.
Thanks for help!
Since it is SharePoint online, you won't be able to perform a full-backup as you'd be able to do with Backup-SPSite.
However, you can save your site as a template. If your publishing feature is enabled for this site, you'll need to enable saving the website as a template via SharePoint Designer. Under the "Site" tab, select “Site Options”, find "SaveSiteAsTemplateEnabled" and set to "true". Then
add this to your site's url:
/_layouts/15/savetmpl.aspx
Fill out and submit the form. In my experience, that should take about 10 minutes, or the working on it screen might never change. If the later happens, you can check for your solution on this page:
/_catalogs/solutions/Forms/AllItems.aspx
This option might not work if your site is over 50MB, so you might need to forgo checking the option that allows including your list content in this backup.

Blank popup in SharePoint

I am trying to connect a filter web part with a document list web part but the popup showing the options for filtering is blank.
What I am doing. I have, as I described before, a QueryStringFilter web part (MOSS) and I want it to send the filter parameter to my document list web part (out of the box SharePoint).
I go in to the edit mode of the site.
I click the filter drop down menu and click to "Connect-Send filter string to-document list"
The popup appears but is blank.
After 5 minutes of waiting the popup is still blank.
I am using IE 8 with MOSS 2007. I have tried Firefox and Chrome but get the same behavior. Have any of you experienced this and do you have a solution?
Thanks
Hope you have MOSS with SP2, because IE8 support is included starting from SP2.
If that's not the issue, then you may want to help yourself with SharePoint Designer (it's free).
Now I get my popup. I think I solved it by manipulating the security settings in IE but I can't say for sure. It just startet working. Maybe it was after a restart of my computer or just IE, the settings doesn't really take effect before you restart the entire client...

SharePoint error relating to page layout after creating site from template

Inside SharePoint I've previously created a site template by appending _layouts/savetmpl.aspx to the end of my site and new sites have been created correctly and work as expected.
I've now come to do the same thing again and yet this time the new site is throwing an error relating to the page layout.
The error is:
This page is not using a valid page layout. To correct the problem, edit page settings and select a valid page layout.
When I try to select a different one, there is only the one to select. This page layout is in use on other sites and they render fine.
Has anyone else seen this issue?
All the best
First, if you append the _layouts/savetmpl.aspx tho the url, i suppose you dont have it in the Site Settings options, so you are using a Publishing site. This is because Microsoft doesn´t support this option (save as template in publishing sites). And they dont support it because it has some bugs, for sure.
So, I would recommend not using this option in important sites, or if you plan to ask support to Microsoft in the future.
However that error indicates that the page layout or his associated content type (ou parent content types) are not correctly installed in the site collection. Are you using your own (custom) content types? Please confirm if the ID of the associated content type (something like 0x0100C6739B7D12DE419aA2F9A2F96CC26818) is exactly the same in the Page Layout on working sites and in the not working sites.
Hope it helps
Do the sites/site collection where the templates working have all the same features enabled as teh sites/site collection where the template isn't working?
Can you check the server logs? <12 hive>\LOGS
Did you add a custom page layout, use it, and then forget to check that "save content" checkbox when you saved your template?

How do you disable a SharePoint webpart temporarily?

Can this be done by setting a property?
I'd prefer that approach then to remove all security before re-adding it.
(As this may have other consequences.)
Another option I can think of is to replace the particular webpart dll with a temporary one, and restart the .net process, but that's not an approach I like at all.
What other options are there? AM I missing something obvious?
What i'm trying to do is find a way to disable a webpart while we update the underlying database schema it's using, for example.
So we'd ideally like to disable a specific webpart for all users, whether it's on a mysite, or a community site, make the required changes and then re-enable it.
Thus decreasing the downtime for users.
Whatever the solution is, we need to be able to do it across multiple front end servers, on potentially two farms easily.
Thanks for your help.
Go to Site Actions -> Edit Page
You get all the web parts edited. Click on the "Edit" dropdown of the Web Part you want to disable and choose "Close".
The web part disappears, but don't fear! It's not gone for good!
To have it back:
-> click to Add a new Web Part -> Advanced Web Part Gallery and Options.
The very first option you have is to choose among "Closed Web Parts". When clicking on that link, you will have displayed a list of all the web parts you had closed. Just add the one you want back!
In the web.config, you can set safe="false" for the SafeControl tag for the webpart. This will cause the web part to render an error message until you set it back to true.
http://technet.microsoft.com/en-us/library/cc287909.aspx
write code to set a value in property bag of the site, set the value through the code and in page lode of the web part check for the value of the property bag if set show the content else just skip.
hope you understood if not let me know i will make it clear.

Resources