Web Part For Video Gallery
Hi,
My Coding Friends i have a requirement of playing videos from a list/libray of Sharepoint 2013.I have to play all the video formats and the maximum size to be played should be 40mb.Could you please help me on it.Its an Urgent Requirement and need code.Any
One Ready to Help me?
Thanks a Lot
Eswar Teki
Eswar Chand Teki
The simple way is to create a content editor web part and embed the source
<embed width="600" height="400" src="http://www.youtube.com/embed/1KHFxLs5vHk" type="text/html" loop="false" autoplay="false">
If you are looking at a custom web part, you can think of Codeplex web parts or other 3'rd party web parts
http://svp.codeplex.com/
Please mark the replies as answers if they help or unmark if not.
Similar Messages
-
The maximum number of Web Parts for all zones on this page has been exceeded.
Hi All,
I am getting following error message when making a new view for SharePoint Form Library
The maximum number of Web Parts for all zones on this page has been exceeded.
Any help in this regard will be greatly appreciated...When you are looking at the page append the following at the end of your URL: ?contents=1
Your URL should look something like this:
http://contoso/site/default.aspx?contents=1
This will open the web part maintenance page. How many web parts are listed? You might have a large number of closed web parts that aren't showing on the page but are actually still there.
John
SharePoint911: SharePoint Consulting
Blog: http://www.rossonmoss.com
Twitter: JohnRossJr
MOSS Explained: An Information Workers Deep Dive into Microsoft Office SharePoint Server 2007 -
Newbie Flash integration question, for video gallery
Well I'm a video editor not a web designer, but I get the basic concepts. Am using Dreamweaver CS4 and Flash CS3 and I have my head around CSS based design and have also managed to get my head around designing an interactive video gallery in Flash.
I want a HTML based site for web search indexing reasons but I need a video gallery that is broken up into sections, (eg. corporate, public sector, Arts... you get the idea). If I design a standard web site with navigation bars, do I include three or more categories (e.g., corporate etc) on the main site navigation bar and incorporate separate flash files on each page to show the relevant content for that category or do I include just a general video button on the web site's navigation bar and then navigate to the individual categories within the Flash movie file itself. The later seems the most logical, but do you experienced web designers find that adding another layer of navigation confuses the end user? Is there a way maybe of addressing individual sections of the Flash movie from HTML buttons? What is the best logic to solve this problem and then I can work on a solution?
Lastly, and I'm sorry for the long post, my site will be very basic so do I really need to incorporate Flash at all; can I address multiple external .flv movies with various buttons within Dreamweaver.Is there a way maybe of addressing individual sections of the Flash
movie from HTML buttons?
No.
Think of it this way:
Your site has a Nav menu that leads to individual html pages.
Each page contains a Flash Video Player with a playlist.
The Playlist contains links to all the FLV clips relating to this page's topic.
Notice I said clips. Don't try to use one long playing video on the web.
This recent discussion may be of interest to you...
http://forums.adobe.com/message/2760142#2760142
WWD FLV Player is pretty nice. It's compact, easy to set-up.
Read the installation.html that comes with it.
http://www.woosterwebdesign.com/flvplayer/
Good luck with your project,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Hello all,
I have what so far appears to be a fairly unique problem. We are running a multilingual SharePoint 2010 environment with English as the default language and French as the secondary. We have setup the sites in a variance relationship, but the
issue I am discussing happens outside of a variant as well.
We have created a library outside the variant (but within the collection) that the two sites must share. A list view web part was created via Designer to add to each site to provide a quick view into the list. If we are in the libary and switch
to French, then update the column label it will remember the setting (because of the resource file) and maintain it as the language is flipped back and forth. Where it doesn't work is as a web part in a variant or where the language is different.
If the language is different, the out of the box columns work find, but the custom columns (all site columns not library\list columns) remain as the english label. It doesn't matter if within a variant or outside with the browser language changed.
It always reverts back to English. It's like it isn't using the same resource file that was used in the list itself.
I created a custom view and modified it with xslt as per
http://sharepoint.stackexchange.com/questions/50004/how-to-change-column-title-for-a-view-but-not-modify-the-list but this only worked within the list and did not occur in the list view either.
I can't be the first that has come across it, either I am not performing my searches properly, no one has ever documented a fix for this or this is something we just can't fix with OOTB tools. That's the other thing, the solution has to be accomplised
OOTB or with minor client side changes. I can't fire up Visual Studio because they are piloting Office 365 and have put a "No custom code" mandate on for migration.
Thank you all in advance.Ok, I have come up with a solution. I edited the XSLT for the web part on the page. I did the following:
1. Create the variants in the Site Ccollection
2. Create the library outside of the variants.
3. Add all the columns you require for the library. It is very important all the columns are there before you move on.
4. Create a French and English view.
5. Create the list view web part via designer.
6. Add the list view web part to each site selecting the appropriate view to use.
7. Edit the page in SharePoint Designer 2010.
8. Place cursor in the column you wish to modify.
9. Click Design in the List View Tools on the ribbon.
10. Then click Customize XSLT and select Customize Item. Select this option otherwise you will generate a **LOT** of unnecessary XSL code.
11. You are looking for a piece that resembles the following:
<xsl:with-param name="fieldtitle">
<xsl:value-of select="@DisplayName"/>
</xsl:with-param>
12. Modify it by typing in the actual column name you want. You should end up with something like this:
<xsl:with-param name="fieldtitle">
New Column Name.
</xsl:with-param>
13. Now, for this page only, the column will be renamed.
There are some caveats:
1. Doesn’t appear to work in a publishing portal. I think this has to do with how SP stores the pages in this case. In a publishing portal you can only modify the page layout which won’t work as we need to modify the content.
2. If you add another column, you will need to repeat the XSLT modification
Anyways, I hope this helps out any others with the same issue or need as I had. -
Enterprise web parts for Standard users
Hi,
We have scenario where a customer does not currently have budget to provide all users with Enterprise CALs, and thus we have this question...
In their SharePoint Online environment, if you have a user with an Enterprise (E3) CAL build a page with a bunch of enterprise web parts, such as content search web parts, will a user with a Standard (E1) CAL be able to see that content?
I haven't been able to find any information like this on the web yet, so if you have any information I would greatly appreciate it.
ThanksHi Ghecko,
Per this similar post, yes it seems that the content search webparts created in a page by E3 users would be able to be seen by E1 users in SharePoint Online environment, meanwhile, I would recommend you post
this question in our dedicated O365 SharePoint Online forum for more accurate information from the following link.
http://community.office365.com/en-us/f/154/t/287168.aspx
http://community.office365.com/en-us/f/154.aspx
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support -
Best settings for importing HD movies to ATV for video gallery
hello -
i work for a gallery, and we have a video artist who will be showing HD videos here for 2-3 months. we bought 2 AppleTVs to use to show the movies, and i'm trying to figure out the best way to convert the material and get the files on there.
using the "Create Apple TV version" doesn't preserve the HD quality of the originals, which i know aren't compatible natively. i was hoping there is a place in the settings for the ATV where i could at least review the video codec in use when converting in iTunes, but there doesn't seem to be a place for it. am i blind or is there no choice in the matter?
i've tried converting in Quicktime Pro using the settings that are on the ATV specs page, and i was successful once (in a short excerpt without much video movement) but no longer (using an excerpt that has more color, movement, etc). the bit rate is too high i'm guessing, tho i've tried to limit it to 5000 k/sec. it ends up coming out 18m / sec for some reason......
for some reason i can't get handbrake to open the file.
any thoughts? we can't afford to buy new computers to stream the original off of, so we're hoping the ATV can show the movies in the highest def possible. she sent them in 720p50 format, so i had to buy a decoder plugin to view them (DVCPro HD from Calibrated Software).
thanks in advance
bbbbhello -
i work for a gallery, and we have a video artist who will be showing HD videos here for 2-3 months. we bought 2 AppleTVs to use to show the movies, and i'm trying to figure out the best way to convert the material and get the files on there.
using the "Create Apple TV version" doesn't preserve the HD quality of the originals, which i know aren't compatible natively. i was hoping there is a place in the settings for the ATV where i could at least review the video codec in use when converting in iTunes, but there doesn't seem to be a place for it. am i blind or is there no choice in the matter?
i've tried converting in Quicktime Pro using the settings that are on the ATV specs page, and i was successful once (in a short excerpt without much video movement) but no longer (using an excerpt that has more color, movement, etc). the bit rate is too high i'm guessing, tho i've tried to limit it to 5000 k/sec. it ends up coming out 18m / sec for some reason......
for some reason i can't get handbrake to open the file.
any thoughts? we can't afford to buy new computers to stream the original off of, so we're hoping the ATV can show the movies in the highest def possible. she sent them in 720p50 format, so i had to buy a decoder plugin to view them (DVCPro HD from Calibrated Software).
thanks in advance
bbbb -
Error:System.Web.HttpUnhandledException in Custom Web part for Sandbox solution
Please Help...
I have a sandbox solution for Custom Web part which has a 'Visual Web Part(sandbox)'.
The solution builds, Packages & deploys successfully.
But when adding this custom web part on a Sharepoint 'Web Part Page' it throws up the below Error:
Same code when deployed as a Farm Solution works all well.
Only difference between the two solutions being Farm solution has 'Visual web part'
and Sandbox solution has 'Visual web part(sandbox)'
ERROR:
======================================================
[SPUserCodeSolutionExecutionFailedException: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.]
Server stack trace:
at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteInternal(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxy.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult result)
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodePoolableProcessConnection.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String affinity, SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeExecutionHost.Execute(Type userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String affinity, SPUserCodeExecutionContext executionContext)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.Administration.ISPUserCodeExecutionHostProxy.Execute(Type userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String affinityBucketName, SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeExecutionManager.Execute(Type userCodeWrapperType, SPSite site, SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeWebPartRemoteExecutionHelper.<>c__DisplayClassa.b__9()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.UserCode.SPUserCodeWebPartRemoteExecutionHelper.ExecuteRequestInSandBox(HttpContext context, SPWeb web, SPWebPartManager manager, SPUserCodeWebPart userCodeWebPart)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
Server stack trace:
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse)
at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext)
at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.ExecuteWrapper(SPUserCodeWrapper wrapper, SPUserCodeExecutionContext executionContext)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.CodeToExecuteWrapper.EndInvoke(IAsyncResult result)
at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)
[InvalidOperationException: Using Menu.DynamicHoverStyle requires Page.Header to be non-null (e.g. <head runat="server" />).]
at System.Web.UI.WebControls.Menu.EnsureRenderSettings()
at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Hi!!
Sure, Please find .cs and .ascx script below
==========.ascx===========================
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DynamicMenuWP.ascx.cs" Inherits="MenuWebPartProject.DynamicMenuWP.DynamicMenuWP" %>
<asp:Menu ID="siteStructure" runat="server" Orientation="Horizontal" StaticPopOutImageTextFormatString="" DynamicHoverStyle-BackColor="#CBE3F0" SkipLinkText=""
StaticSubMenuIndent="10px"
BackColor="#000000" CssClass="BIMenu" Font-Names="Verdana" Font-Size="1em" DynamicHorizontalOffset="2" onmenuitemclick="siteStructure_MenuItemClick" Target="_blank">
<StaticSelectedStyle
BackColor="#507CD1" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" CssClass="BIMenuStaticformenu" />
<DynamicHoverStyle BackColor="#CBE3F0" />
<DynamicMenuStyle BackColor="#F2F3F4" BorderColor="#A7B4CE" ForeColor="Black" />
<DynamicSelectedStyle BackColor="#507CD1" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" CssClass="BIMenuDynamicForMenu" />
<StaticHoverStyle BackColor="#284E98" ForeColor="White" />
</asp:Menu>
==========.cs===========================
using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MenuWebPartProject.DynamicMenuWP
[ToolboxItem(false)]
public partial class DynamicMenuWP : System.Web.UI.WebControls.WebParts.WebPart
protected override void OnInit(EventArgs e)
base.OnInit(e);
InitializeControl();
protected void Page_Load(object sender, EventArgs e)
if (!IsPostBack)
ScorecardStructure ss;
List<ScorecardStructure> listSS = new List<ScorecardStructure>();
using (SPWeb web = SPContext.Current.Web)
SPList lists = web.Lists["MenuItems"];
if (lists.ItemCount > 0)
foreach (SPListItem item in lists.Items)
ss = new ScorecardStructure();
ss.title = Convert.ToString(item["Title"]);
ss.ParentID = Convert.ToInt32(Convert.ToString(item["Parent ID"]));
ss.ParentName = Convert.ToString(item["Parent Name"]);
ss.MenuID = Convert.ToInt32(Convert.ToString(item["Menu ID"]));
ss.menuName = Convert.ToString(item["Menu Name"]);
ss.url = Convert.ToString(item["URL"]);
ss.friendlyName = Convert.ToString(item["Friendly Name"]);
listSS.Add(ss);
if (listSS.Count > 0)
List<ScorecardStructure> y = listSS.Where(s => s.ParentID == 0).ToList<ScorecardStructure>();
foreach (var x in y)
MenuItem newMenuItem = new MenuItem(x.menuName.ToString(), x.MenuID.ToString());
siteStructure.Items.Add(newMenuItem);
AddChildMenuItems(listSS, newMenuItem);
private void AddChildMenuItems(List<ScorecardStructure> menuData, MenuItem parentMenuItem)
if (menuData.Count > 0)
List<ScorecardStructure> childItems = menuData.Where(s => s.ParentID == Convert.ToInt32(parentMenuItem.Value)).ToList<ScorecardStructure>();
foreach (var v in childItems)
MenuItem newMenuItem = new MenuItem(v.menuName.ToString(), v.MenuID.ToString());
newMenuItem.NavigateUrl = v.url.ToString();
parentMenuItem.ChildItems.Add(newMenuItem);
// This code is used to recursively add child menu items filtering by ParentID
AddChildMenuItems(menuData, newMenuItem);
protected void siteStructure_MenuItemClick(object sender, MenuEventArgs e)
string st = e.Item.NavigateUrl;
if (!(st.Equals(string.Empty)))
HttpContext.Current.Response.Redirect(st);
class ScorecardStructure
public string title { get; set; }
public int ParentID { get; set; }
public string ParentName { get; set; }
public int MenuID { get; set; }
public string menuName { get; set; }
public string url { get; set; }
public string friendlyName { get; set; }
public bool IsPostBack { get; set; } -
Where is the drop down list with "edit web part" for a list??
In Sharepoint 2010, there was a drop down list to the far right of a list. One of the options was to Edit Web Part. In Sharepoint 2013, I can't find the drop down list. Nothing is to the right of my list and mouse overs down't reveal
anything. I am trying to get to that area to change my toolbar type. Any clues as to where the "edit web part" has gone to?I've been able to edit Web Part properties for weeks, but a few days ago, I could no longer do it, either by using the checkbox in the upper right corner of the web part or by using Web Part Properties in the Web Part tab. It's greyed out.
Then yesterday I could do it again and today I can't. An intermittent problem!
No one has changed any Sharepoint Admin settings.
Anyone have any ideas? They would be greatly appreciated. -
Creating Web Parts for an Enterprise Wiki...
Hi All,
I am trying to set up a knowledge base using an Enterprise Wiki site in SharePoint Online (apologies if this is the wrong forum) and I would like to be able to control the layout of the certain entries. I think I need some web parts, but I am
open to alternatives. What I am hoping to achieve is this:
Header Web Part - When a new page is created it would include a Web Part that includes a Title and some basic text fields as well as an editable list that would include a URL and a brief description of the URL so some thing like this:
Title goes here
Lable1: Text
Lable2: More text
Useful Sites:
URL1 - This is the vendor support page
URL2 - Here is some more useful info
Repeatable/Reusable Web part - This web part would contain it's own layout, more text fields and also the ability to add attachments but most importantly when users edit the page they would be able to add another one of these web parts.
Essentially any give Wiki page would be made up of one header web part and one or more instance of the other web part that gives the pages the same structure.
Are web parts the correct thing to be using and if so how do I go about creating and implementing this?
Any suggestions greatly appreciated
AndrewHi,
Thanks for the reply. I think it is a little over my head, I'm just starting out and I know I am trying to run before I crawl. Will definitely give this a try when I've got my head round it.
Andrew -
Web parts for Multiple Device Chanel
I had created two device channel one is default and another is for iPhone
I used this too
<!--MS:<Publishing:DeviceChannelPanel runat="server" IncludedChannels="iphone">-->
<!--MS:<Publishing:DeviceChannelPanel runat="server" IncludedChannels="DEFAULT">-->
Default has 5 webparts and iPhone has 3 webparts
but what ever i am editing, adding or removing in one device channel it's get reflected in another channel..
Breaking my head for the solution, Please helpHi,
Device Channel Panels don’t support conditional rendering of Web Parts in Web Part Zones. If you want to conditionally display Web Part you should use the Rich Text Editor instead.
More information is here:
http://blog.mastykarz.nl/device-channels-sharepoint-2013/
Other materials:
http://blog.christian-heindel.de/2012/07/23/mobile-devices-and-sharepoint-2013-part-ii-device-channels-and-the-sharepoint-page-model/
http://msdn.microsoft.com/library/jj191506(v=office.15)
Best Regards
Dennis Guo
TechNet Community Support -
The XIr3 SharePoint Web Part for Webi is throwing errors to SharePoint.
Hi Admin's, Have any of you seen this error... We've built an XIr3 environment to expose Webi via the PIK webpart to SharePoint as a reporting portal. The backend is Sql linked servers via an OLEDB provider from a vendor named OSI (PI historian). The environment rocks, and the BO/SAP software is doing exactly what we want it to, one admin issue though. BOXI is spamming our SharePoint admin with two pesky messages "Error: Failure in loading assembly: BusinessObjects.SharePoint.Utilities, Version=10.0.3300.0" and the same prefix with version 11.0.3300.0. Have any other admins experienced this? The configuration is working fine in production, our dev burn throws these two, and it is essentially preventing us from upgrading our DotNet framework from 2.0 to 3.5 which is the only component in flux. The SP version is 12.0.633.5000. I just need to stop spamming my SharePoint friends and let them do their upgrade!
The search center is just a collection of pages that has the appropriate search web parts. YOu can change the Search Settings at the site or the site collection to change the results page used. If you add a results page with the appropriate
web parts to the site you can send the results anywhere. But building a search center is the easiest way to do that.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Hi
It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
OK.
Let me explain by example:
MileStones List - Having more than 20 items
Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
on first record!
The wierd thing is that if the MileStone list has less than 20 items all works as expected.
Any pointers will be appreciated
ThanksHi,
This is a known limitation when working with complex fields like Lookup field.
A workaround is that we can avoid using the inline edit feature when there are
complex fields in a list.
You can take a look at this KB from Microsoft Support to get more details:
http://support.microsoft.com/kb/2600186/en-us
A similar thread for your reference:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
Thanks
Patrick Liang
TechNet Community Support -
Best approach for uploading document using custom web part-Client OM or REST API
Hi,
Am using my custom upload Visual web part for uploading documents in my document library with a lot of metadata.
This columns contain single line of text, dropdownlist, lookup columns and managed metadata columns[taxonomy] also.
so, would like to know which is the best approach for uploading.
curretnly I am trying to use the traditional SSOM, server oject model.Would like to know which is the best approach for uploading files into doclibs.
I am having hundreds of sub sites with 30+ doc libs within those sub sites. Currently its taking few minutes to upload the files in my dev env. am just wondering, what would happen if the no of subsites reaches hundred!
am looking from the performance perspective.
my thought process is :
1) Implement Client OM
2) REST API
Has anyone tried these approaches before, and which approach provides better performance.
if anyone has sample source code or links, pls provide the same
and if there any restrictions on the size of the file uploaded?
any suggestions are appreciated!Try below:
http://blogs.msdn.com/b/sridhara/archive/2010/03/12/uploading-files-using-client-object-model-in-sharepoint-2010.aspx
http://stackoverflow.com/questions/9847935/upload-a-document-to-a-sharepoint-list-from-client-side-object-model
http://www.codeproject.com/Articles/103503/How-to-upload-download-a-document-in-SharePoint
public void UploadDocument(string siteURL, string documentListName,
string documentListURL, string documentName,
byte[] documentStream)
using (ClientContext clientContext = new ClientContext(siteURL))
//Get Document List
List documentsList = clientContext.Web.Lists.GetByTitle(documentListName);
var fileCreationInformation = new FileCreationInformation();
//Assign to content byte[] i.e. documentStream
fileCreationInformation.Content = documentStream;
//Allow owerwrite of document
fileCreationInformation.Overwrite = true;
//Upload URL
fileCreationInformation.Url = siteURL + documentListURL + documentName;
Microsoft.SharePoint.Client.File uploadFile = documentsList.RootFolder.Files.Add(
fileCreationInformation);
//Update the metadata for a field having name "DocType"
uploadFile.ListItemAllFields["DocType"] = "Favourites";
uploadFile.ListItemAllFields.Update();
clientContext.ExecuteQuery();
If this helped you resolve your issue, please mark it Answered -
Sharepoint 2013 - Can I use Visual Studio 2012 express edition for web-parts and app parts?
I am new to sharepoint 2013. I want to develop the app and web parts using visual studio 2012 express edition. Can I use vs 2012 express edtion to create app and web parts for sharepoint 2013?
Unfortunately no, check this post:
http://sharepoint.stackexchange.com/questions/52338/sharepoint2013-development-with-vs2012-express
To build SharePoint 2013 webparts/apps you will need the 'Microsoft Office Developer Tools for Visual Studio 2012', which do not come as part of Visual Studio. The tools require Visual Studio 2012 Ultimate, Premium, or Professional.
The tools and prerequisites can be found here:
http://msdn.microsoft.com/en-us/office/apps/fp123627.aspx
Brandon Atkinson
Blog: http://brandonatkinson.blogspot.com -
Dundas Gauge for SharePoint web part
Hi,
I'm using the Dundas Gauge for SharePoint web part, it seems that I have to add a seperate web part for each and every guage that I want added to the page, this means that inside each web part I have to add the connection string details for the sql database to get the data for the guage.
If I have 20 guages on a sharepoint page, this means 20 connection strings, 20 hits on the db - it's not sounding good.
Has anyone had any experience of this or has any thoughts on the best way to integrate this?
Best Regards
KieranAs long as the connection strings are the same connection pooling will probably be used (they could disable it if they wanted to but not very likely).
It could still be 20 seperate hits to the database though. If each gauge is looking at a seperate dataset then absolutely it would require a trip to make the query.
You should investigate if the controls support caching directly (very likely) and create a good caching strategy if you need 20 seperate query results on one page.
Maybe you are looking for
-
Most of my applications won't open since I upgraded to Maverick
This afternoon I updated the software on my MacBook Pro to Maverick from Mountain Lion. I got a gray screen for about 20 minutes after the process was done, so I force restarted my computer by holding down the power button. Everything seemed fine whe
-
Issues in file posting in ftp folder
Hi I am using a file to file scenario .There are 2 Files which is getting posted at the sender side.In RWB i can see the the sender communication channel picking up the 2 files properly.But Receiver communication channel shows only 1 file successfu
-
I can't get the middle handles on iBooks Author pop-over widgets to work.
I can't get the middle handles on iBooks Author pop-over widgets to work. Dragging the middle handles should resize the pop-over widget size either vertically or horizontally, but instead they resize the pop-over widget in all directions, as if I'd u
-
Hello, I am creating a sales order using BAPI_SALESORDER_CREATEFROMDAT2 which internally calls SD_SALESDOCUMENT_CREATE. The order is for a one time customer created in KNA1. The address lines are fed in to the BAPI while creating order and also VAT R
-
I've uploaded a PKGBUILD for pam-krb5 3.6 http://aur.archlinux.org/packages.php?d - s=0&SeB=nd Allows pluggable authentication via PAM against a KDC. later. ryanc