I am using Custom Masterpage in my sharepoint site and i did lot of customization through SPD allmost all the pages.
I am getting a crazy error down on the status Error: Object expected in only in IE browser and not in Mozilla.
Note: I am using some javascript/JQuery in the Masterpage and Dropped a Webpart in Masterpage without WebpartZone which i needed in common for all the pages. Will that be a problem??
Please help me on this
Related
I have a html content added to a SharePoint via "script editor" webpart. Now I am trying to add this page to a "Embedded Webpage" widget in TFS and getting an error as in the screenshot. Can someone help me to fix this.
Edit: My SharePoint page is on HTTPS. After embedding it in the widget, the console logs the error as in the screenshot.
Embedded web page
Only webpages that allow iframe embedding are supported.
Source Link
According to the error info this content cannot be displayed in a frame. Make sure your html content webpage is following the syntax.
for one Sharepoint 2013 site, I successfully managed to create a custom 404 error page by setting the site parameter vti_filenotfoundpage to the desired URL.
However, this does not work for another sharepoint 2013 site and I have no clue why.
Setting the same parameter shows now effect.
Also setting another parameter SPSite.FileNotFoundUrl doesnt do it.
Apparently I am not able to add the 'error page' to the content type: For the parent content type "Publishing Content Types" or "Page Layout Content Types" I can only select other options.
How can I map the error page (which is non-existent at the moment) to a custom page? Thanks!
edit:
I assume to have a 15 Hive site (as the site settings URL contains .../_layout/15/...)
I created various files but none of them works (CustomError.aspx, PageNotFoundError.aspx as well as in Site Pages as in the site root directory).
I have site owner and designer rights (but no admin/collection).
And I am working on a sub site (have only rights to this sub site).
Plase see https://sharepoint.stackexchange.com/questions/154480/how-to-create-custom-error-page-in-sharepoint-2013 - it is original answer and you can find other solutions here.
As mentioned in linked topic: "Using SharePoint Designer 2013 (set vti_filenotfoundpage property) – With the new Site Options in SharePoint Designer 2013, you can assign the vti_filenotfoundpage property of the site to a Custom Error Page that you might have deployed in the 15 Hive. ", - that means you can only use error page from current site's 15 Hive, not from other site.
not possible for sub sites, only via main site
I am using custom web part in a publishing page of SharePoint 2010 and
I did chrome type none by programmatic of that web part. I applied chrome type property none in the .webpart file.
When I put this web part in publishing page, it is not working. It gives the default chrome type, doesn't matter whatever I set in the property.
More ever when I do the chrome type none from the browser, it also doesn't reflect.
I dont know it may help you or not but let's give it a try :
Open the site in SPD, go to faulty page, and open the page in the coding mode. Look for the webpart page main property.
Change the ID of the webpart zone to anything other than its original name .
After that save that page checkin publish and re try to make chrome type one.
Let me if this help you or not.
Ive been having a problem with a webpart in a sharepoint (moss 2007) site.
Basically I cannot remove the webpart, every which way results in an error and we cant get rid of the darn thing.
Unfortunately SharePoint designer errors out as wel when I try to remove the webpart manually from Default.aspx (its only on the homepage).
Is there anyway without SharePoint designer I can gain access to the Default.aspx file so I can manually remove the webpart?
Someone mentioned default.aspx doesnt actually exist and is generated at runtime? Is this true and if so does anyone know where in the moss database I could gain acces to the table(s) that build up the default.aspx or where the webpart refs are stored for manual removal?
Thanks all!
you can try adding ?contents=1 at the end of your URL page. for example:
http://myserver/Pages/default.aspx?contents=1
this will bring you to a "Web Part Page Maintenance" page where you can checkout the page itself and remove/disable web parts.
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?