I have had an app targeted for SharePoint online which provisions a few custom lists and custom list forms that has been, and continues to work on my work Office 365 team site.
I made some changes to the app and on my developer account, references like:
<SharePoint:FormField runat="server" ID="FieldId" ControlMode="New" FieldName="FieldName" />
are not rendering at all on custom list pages, aside from one list, whose custom pages oddly appear to continue functioning.
I have been pulling my hair trying to figure the source of this for hours not to no end. I have even created an app that does nothing but provision a list and a custom form and on deployment to my developer account, form fields do not render (the HTML rendered on visiting these forms is something like this:
<span id='WPQ1f257f1df-1870-4fef-a590-4f29baa6e99bIPName' data-sp-control='SPFieldText' data-sp-options='{"mode":3,"source":"IPName"}'></span>
without the html input controls as it happens on the working form.
Hoping there is someone in here who may have ideas as to what could be the cause of this.
Related
On my SharePoint 2013 dev environment this code in a custom page layout brings back the current users first name:
<SPSWC:ProfilePropertyValue runat="server" TitleMode="true" PropertyName="FirstName"/>
However if I add this to a page layout in SharePoint Online in Office 365 it returns nothing (just blank).
Is this a possible bug or by design?
I want to bring back this property server side rather than with client side scripts as I want to be able to use it before doc ready.
I discovered the answer was because you need to use the 'ProfilePropertyLoader' tag first eg:
I am working on a POC for site templates and sites. I am able to get the propagation of the changes from the site template to the site, but there is something that seems to be un-comforting:
What I am doing here:
I created a site template, and added say a blog, navigation,
calender to it.
I created a site named A which is using the
aforementioned site template.. thus I can see those above configured
applications in site A.
Now I added some site A level apps like
wiki, and polls.
Now, I get a message that says "Reset changes" (as the site changes are not same as its template). So I did a reset and all site level changes like wiki and polls are lost.
I know we can disable propagation of these changes, post site creation, but we have a requirement as per which we need to update content in the site template, which should be propagated, to all the sites using that template, ensuring all the site level changes are intacted.
Question:
Is there a way wherein we can sustain the site level changes, along with the new changes in the site template (reset does not seems to be working as per this requirement)?
Note: We are looking for an out-of-the-box solution from Liferay, before jumping to any customization (but any idea on would be welcomed).
Liferay version : Liferay Portal Community Edition 6.2 CE GA2 (Newton / Build 6201 / March 20, 2014)
Any pointer would be a great help.
Cheers!!
AJ
I ran into a similar problem with a project I am working on. The main drawback of site templates with propagation is exactly what you describe - any changes on the child sites can be wiped out by this propagation.
I took an approach that utilizes OOTB liferay features but requires development work for changes by embedded portlets into page layouts. You can also embed some basic portlet configuration in layouts as well. Here's a snippet from one of the layouts we are using:
#set($customTitlePreference = "<preference><name>portletSetupUseCustomTitle</name><value>true</value></preference>")
#set($noBorderPreference = "<preference><name>portletSetupShowBorders</name><value>false</value></preference>")
#set($basicPreferences = "<portlet-preferences>${customTitlePreference}${noBorderPreference}</portlet-preferences>")
<div class="three_columns" id="main-content" role="main">
<div class="portlet-layout">
<div class="portlet-column portlet-column-first" id="row-1-column-1">
$theme.runtime("85", "", "${basicPreferences}")
$theme.runtime("56_INSTANCE_RELATED", "", "${basicPreferences}")
$processor.processColumn("row-1-column-1", "portlet-column-content portlet-column-content-first")
</div>
</div>
</div>
This is only the first column, but it shows a site map (pid 85) and a web content display with a specified instanceId (pid 56). This is the first of three columns, and this technique folds seamlessly into all layout components.
Each page can have its own layout, or you can re-use layouts across different pages. Any updates to the layouts that are deployed to the server will propagate to each page using the layout but not destroy the customizations made to the pages. The only functional downside to this is that portlets can only be added to the bottom of each column, as the embedded portlets will be rendered first. You can circumvent this by being clever with rows and columns in your layouts.
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.
I have a SharePoint hosted app.
There is a list in that app, and it is brought through web part on the page.
<div>
<WebPartPages:WebPartZone runat="server" FrameType="None" ID="WebPartZone" >
<WebPartPages:XsltListViewWebPart
runat="server"
ListUrl="Lists/IdeasList">
</WebPartPages:XsltListViewWebPart>
</WebPartPages:WebPartZone>
</div>
Everything works well but there is one problem, in case of application updating the page on which is placed a web part is replaced normally (html a code), but the web part is duplicated (on the page one more copy of web part is added below).
How to add web part on the page that it wasn't duplicated in case of updating?
I had the same issue and what I did is to remove the webparts before update.
You can delete them manually via URL.
Another option is to implement an event receiver which will delete the webparts before.
Hope this helps you.
I have a fairly simple page in WSS3. It's basically a web part page with a custom webpart to display some text and a embedded video from Vimeo, a custom webpart to handle newsletter submissions (a simple form) and a couple of document libraries.
I'm using Forms authentication. My admin user can sign in and browse the rest of the site with no problem, but this one particular page causes the user to be presented with a blank white screen. If I view the source of the page I can see the correct markup and the issue only occurs in IE.
When browsing the site anonymously there is no problem.
Does anyone know what could be causing this?
It sounds like a javascript problem to me - the document library view will render extra menus etc. if you are an authenticated user with some contributing rights to the site. It's probably these that are colliding with something else and causing your issue.
As you'll have no control over the document library viewer web part, I suggest you remove your custom web parts from the page (with the document library viewer on it) and readd them until the page breaks.
I had a similar issue at one point in that we were overriding some functions that were in a SharePoint js library, however as the SharePoint file was registered at the bottom of the master page and ours were in webparts (which loaded first but were subsequently overridden by the OOB file), we had some unexpected behaviour. I fixed it in the end by adding our custom part to the master page after the OOB file was registered.