I have a standard list on SPO using standard modern view. What I want to to is to make the list look like it is not part of Office365 but just a container that holds data. This data should then be embedded and displayed on an external page (outside of Office365). Authentication using SSO from this external page to Office365 is no problem here (OpenID Connect).
Option 1: remove navigation bar, sharing button, Office365 bar at the very top,logo... remove everything but the list containing my data. Only this list must be affected, not other lists on this site collection. Link to this view looks like this: https://contoso.sharepoint.com/teams/sitename/Lists/listname/AllItems.aspx
Option 2: Embed the list on the external page (iframe?) - if this is even possbile?
Is there any other option and if not, could I use Option 1 or 2?
Thank you.
#ReyamOki,
It's not possible to embed SP online page into an iframe, it will trigger error.
SP modern UI provided a speed mode, does it meet the requirement?
The url is :
https://xxx.sharepoint.com/sites/s01/Lists/mm/AllItems.aspx?env=WebView
BR
Related
In sitecore 8, After publishing my VS solution I am able to see few pages while for few pages I get error as "THe Controls Collection can't be modified because the control contains Code blocks i.e( <%...%>)". Please help.
This is typically caused by using code blocks in a Sitecore layout. This will work fine in the Content Editor however as soon as you go to use the Page Editor or Preview a page you will run into this error. This happens because Sitecore dynamically adds the ribbon control to the page which modifies the controls collection.
However because you've mentioned you are seeing it on a published page this may actually not be related to Sitecore and it's ribbon control at all (this can happen in vanilla Asp.net as well). It could just be happening because you are using code blocks to inject values into the header of the page and the controls you are referencing have not been rendered yet. Based on the error message included it looks like you (or at least the Active Commerce skin) may be trying build the meta tags in this fashion.
There are a few options here for solving this issue:
If trying to inject something into your JavaScript (e.g. the ClientID of a field) then do so using Page.ClientScript.RegisterClientScriptBlock.
If you are trying to inject a value into JavaScript you can also move the JavaScript block to the end of the page (before the tag) or in a script block after the control it is referencing. Having it in the will often result in this error.
Use a data binding block instead (<%# %>). If you are accessing a page property you will need to add Page.DataBind() in the Page_Load.
If those don't get you up and running share any relevant code and I should be able to help you further.
References:
http://www.tcsc.com/sitecore-layouts-and-code-blocks/ https://weblogs.asp.net/abdullaabdelhaq/how-to-fix-this-the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks-i-e-lt-gt
I am a beginner in using opencart.I need to create an About us page from admin and have to link it to my main menu navigation.How to get this?
Step 1 : Goto information link in catalog tab
Step 2 : click to insert a page or information page like about us
Step 3 : if you have enabled seo then you can write keyword for you aboutus page or information page then your url will be easy to use e.g below if seo is disbaled then your url will be little boring e.g(index.php?route=information/information&information_id=4)or simpler to it which will not be good to share or use
NOTE: for seo you should use .htaccess file
It very simple go to admin panel
catalog -> Information
here you can see all the static pages such as About us,Delivery Information etc
edit them and changes will appear on front page .
to insert new page
catalog -> Information -> Insert
most complex opencart themes have a module like menu that you almost always can edit in the backend, if you wish to you can add it manually, to do so locate header.tpl in catalog->view->theme->common and see if menu is called directly there probably in a section or in an external file, probably located in the same folder, if you wish to you can send me a message with further info and i would be glad to further assist you, its really simple, if you find your way around.
I am working on some custom Redmine reports. In the generated report, there are numbers that represent things like "number of issues moved to Development during Q3 2013". The report generator knows the issue id of every issue that matches that criteria.
Is there a way to construct a Redmine URL that shows a list of all issues given a list of issue ids? For example, something like (this doesn't actually work):
http://redmine/projects/example/issues?ids=1234,1239,1245
This is similar to existing feature requests such as http://www.redmine.org/issues/10828 but I'm looking for the user-facing HTML version, not an API function. The idea is to allow the user viewing the report to click on the number and to see the corresponding list of issues.
The solution I ended up with was to include the list of issues in a <div> for each number in the report that the user could click on. Then, when the user clicks on a number, the corresponding <div> is displayed using a jQuery UI dialog.
This is not the same as using the Redmine issue list screen to show the issues. However, for this purpose it works well enough.
No, this is not implemented. But for me it should never be necessary in the Gui.
My Solution would be : Build the adequate query. Eventually this will need the addition of a field in Redmine and backporting the information from your tool to Redmine. Generally the need for this feature shows your bug tracker lacks some information that he should track.
I'm trying to get the list of all the pages that a user "likes", both Facebook pages and external pages.
I know that the facebook pages (such as http://www.facebook.com/DealExtremeFans) I can obtain them with the "me/likes" value from the Graph.
But for a page such as (http://mashable.com/2012/01/20/advertisers-this-is-what-an-nfl-fan-looks-like-infographic/) that has a like button (under the title) I don't see how to get those likes.
Is this possible? If not, are you planning on adding support for this any time soon?
Thanks
EDIT:
According to the response below, even though they are added via the "like" button they are really "Shares".
Now my question is, how do I get those shares? what's the graph for them? I tried "me/shares" but doesn't exist.
Is there a way?
Yes it is possible, but it looks like that URL only has shares:
Click here.
And here is a link to a tutorial for getting the data via jQuery.
In SharePoint 2010, I have a custom list "Clients" on a site. On the home page of the site, I have added a Clients List Web Part. When I access the home page in a browser and click anywhere in that list, it displays the "List Tool" ribbon group which has "Items" and "List" ribbons. I do NOT want these ribbons at all when clicking on the list. How do I achieve this? Should I disable the click event on the list so these ribbons do NOT appear? How do I disable the click event on the list? Or What should I do to hide these ribbons when clicking on the list?
Basically I want it to behave same as content query web part. In content query web part, if you click anywhere in it, it doesn't show up any extra ribbons. I want the same behavior with list web part.
Thanks
Hitesh
One approach would be to follow the tutorial outlined in this blog post: Remove actions from the ribbon: SharePoint 2010
The end result is a UserControl that you can place on any page and "trim" (i.e. hide) certain portions of the Ribbon: entire tabs, or individual groups or buttons on the ribbon.
If you follow the prescribed solution from the blog, then you would add the following lines in your Page_Load event:
SPRibbon ribbon = SPRibbon.GetCurrent(this.Page);
if (ribbon != null) {
ribbon.TrimById( SPRibbon.ListTabId );
ribbon.TrimById( SPRibbon.ListItemTabId );
}
Additional ribbon element IDs can be found at:
As referenced in the CMDUI.xml XML file
As defined by public fields on SPRibbon (used in example above)
Of course, the downside to using this approach is that the particular ribbon elements you hide are hard-coded in the UserControl. To get around this, I used the UserControl as a basis to create a Web Part that allows you to define which ribbon elements to hide via a property. It works great and is generic enough to be applicable to many different scenarios.