Go to Edit mode of a sharepoint publishing page programmatically - sharepoint

How can I go to edit mode of a sharepoint 2013 publishing page programmatically?

You can do it by doing a redirect to the page you want to edit appending "?ControlMode=Edit&DisplayMode=Design" to the URL
(pay attention to the case)
Also the page should be checked out

Related

SharePoint Designer 2013 Edit Site Pages

Here i have a issue with SharePoint Designer 2013, an Modern site page was build on SharePoint Online. But i need to customize the modern page and adding url to quick links.
Though modern page doesn't support CEWP or SEWP it's hard to custom the page. But what i am looking is to edit the site pages from SPD 2013 and if i edit the planner.aspx will changes save, unfortune i have Url to navigate the user from the one page to other url(https://...Planner.aspx).
What i want is when user clicks on above link, it should open in new tab and i have to align the page with Css branding. i am adding something like this to open in new tab using SPD href="/abc/xyz/3/SitePages/Planner.aspx?web=1 target="_blank" but no luck at the end.
Looking for an solution, Thanks in advance !
As far as i understand, using SharePoint Designer is not supported for modying the SharePoint modern experience.
You should be using the SharePoint Framework to modify your pages, you can see the full list of supported modifications here:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations
However, if you are used to using CEWP and SEWP, you can deploy an app which replicates the functionality in the modern pages
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor
Atlthough this is probably not supported either, it should allow you to make the changes you want.

Not able to add any WebPart on the site page

I have created a "Team Site" on SharePoint online. When I edit a site page, I am not able to view any option of adding a web part on the page. All I can see are following options. Please click the link to see the options. I don't see any web part option there.
I believe there are some features that need to be activated on this site collection. Does anybody know which features need to be activated here to enable web parts on the page?
Unfortunately, WebPart doesn't work in New Experience. You need to be in Classic View to add the WebPart.
You can't add web part to New experience mode Sharepoint page. At least not for now. But you can create a page in Classic mode, it's the same as it was in SP2013.
How to do it - Read this article

SharePoint 2013 online customize personimmersive page

I want to customize the SharePoint 2013 online(office 365) "About me" linked page (personimmersive.aspx) to a custom look and feel.
Even clicking on any SPUser name, for ex in a list item modified by is "John Smith" if we click on it goes to about me page.
This page resides under mysite but I cannot see this page is SharePoint 2013 designer to edit, but modifying SharePoint pages in designer is not always the best way.
Can I just create a new page and redirect all Profile page request to that custom page?
IF I create app parts and edit the page I cannot edit the top portion of the page.
redirecting may not be a feasible approach, specially on the online versions
you can try to take advantage of web parts and css to do what you can
The biggest change is that you can’t edit the entire top portion of
the page. These used to be in a web part zone, and you could choose to
add/remove the web parts. Now they are fixed, with no ability to move
them around or change the parts.
We had removed the Activity Feed web part previously because we were
using Yammer newsfeeds and group feeds embedded throughout the site,
and this part always showed “No activities”. Now this is back again,
with no way to remove it, short of editing the page in SharePoint
Designer.
There are still web part zones on the bottom, but really the problem
is no control over the display of most of the top of the page.
http://weshackett.com/2014/04/office-365-new-profile-page/
There is personImmersive.aspx in SharePoint Designer, you should be able to find it in All Files. Just make sure you connect to [your_domain]-my.sharepoint.com instead of [your_domain].sharepoint.com.
you can't customize the page completely.However you can add custom web part and custom css to change the look and feel to a great extent.
#tiago duarte you can still remove the activity web part.This can be done using script editor webpart and hiding the complete block/div.

Not able to edit page in sharepoint 2013

Not able to edit the home page of sharepoint2013 but we are able to edit all the site pages,
when trying to edit the home page it shows loading and not able to edit the page.Please advice.
Try to use Sharepoint designer (download from : http://www.microsoft.com/en-us/download/details.aspx?id=35491) then pointing at the home page file (could be at /sitepages/home.aspx if activate publishing site, or /pages/default.aspx if using default team site) then click Advanced Mode at ribbon.
Hope this help.
The page is checked out by another user - just check it in and discard the other users changes (or find that other user and get them to check it in). You'll then see the full edit mode.

How to get 'edit mode' page in full browser instead of PopUp in sharepoint 2010

I have created Blog Site as default site in SharePoint 2010. When i go to individual blog post it shows default "edit" link at Right side with which you can edit the posted blog content. I need browser to open in full page instead of pop up after clicking this "edit" button.How do i do it?
This discussion address same question . Check the Ashar2k11 answer. Basically you have to customize XSLT in XSLListViewWebPArt in the Post.aspx page
Open ur Blog site in sharepoint designer on that u can edit.
master page: v4.master
content page: home.aspx/default.aspx pages open this pages.what u want can edit
after editing pages once save the sharepoint designer then goto ur sharepoint site refresh site displaying that site is edited.

Resources