Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Answered Display sharepoint list items as a flash or a scrolling text

  • 01 Mei 2012 21:19
     
     

    Folks,

    Can some one let me know how to display the data from sharepoint list in to a Content Query/editor Webpart as a scrolling text(with links) or as a flash.

    Or, how to just display the scrolling text using content editor webpart. I have tried this but fails in 2010.


    smith

Semua Balasan

  • 01 Mei 2012 22:15
     
     
    Try this and see if it works.  http://www.infowisesolutions.com/blog/Comments.aspx?ArticleId=23

    Heather Waterman SharePoint Desginer www.heatherwaterman.com

  • 02 Mei 2012 17:30
     
     

    Heather,

    Unfortunately, I get the following error after I wrap the marquee around the listviewwebpart

    Web Part Error: Unknown server tag.
    [WebPartPageUserException: Unknown server tag.]
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CompressInOrder(Deserializer firstMethod, Deserializer secondMethod, SourceContent sourceContent, String allRegisterDirectives, Boolean isClosed)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CompressWebPartNoSave(Boolean isClosed)

    smith

  • 02 Mei 2012 17:37
     
     

    To display data from a SharePoint list in a marquee:

    http://www.sharepointclowns.com/2011/08/display-a-marquee-of-sharepoint-list-items/

    To join two SharePoint lists and show the result in a marquee:

    http://mikesnotebook.wordpress.com/2012/03/09/joining-two-lists-using-the-lists-asmx-service-in-sharepoint-2007/


    Mike G.

  • 02 Mei 2012 17:53
     
     
    Smithspd, I have just tried the above mentioned method, and it does work correctly. It sounds like you have a tag mismatch somewhere. When you insert the Marquee make sure that the start tag is before the start of the web part, and the end tag is after it closing tag. If this is not the case, can you post the code where you inserted the marquee so it can be further reviewed?
  • 02 Mei 2012 20:21
     
      Memiliki Kode

    Sure. Please find the code below:

    <marquee onmouseover="this.stop();" onmouseout="this.start();" truespeed="" scrollamount="1" scrollDelay="30" direction="left" valign="middle">
    <WebPartPages:XsltListViewWebPart runat="server" IsIncluded="True" GhostedXslLink="main.xsl" NoDefaultStyle="TRUE" ViewFlag="8" Title="CNews" PageType="PAGE_NORMALVIEW" ListName="{8D48BD9B-544F-4F11-9F41-8777A061A83C}" Default="FALSE" DisplayName="SCNews" __markuptype="vsattributemarkup" partorder="2" __WebPartId="{E5CB4E26-AF0B-4CAB-B481-9B039D45424E}" id="g_e5cb4e26_af0b_4cab_b481_9b039d45424e" viewcontenttypeid="0x" __designer:customxsl="fldtypes_ngtagnotes.xsl;fldtypes_ngvotes.xsl;fldtypes_PlanetUploadField.xsl;fldtypes_Ratings.xsl">
    <XmlDefinition>
    							<View Name="{5DD7329E-BDCS-4B07-9362-4158D6AC25C1}" MobileView="TRUE" Type="HTML" DisplayName="All items" Url="/stores/Lists/News/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/announce.png">
    								<Query/>
    								<ViewFields>
    									<FieldRef Name="Body"/>
    								</ViewFields>
    								<RowLimit Paged="TRUE">30</RowLimit>
    								<Aggregations Value="Off"/>
    								<Toolbar Type="Standard"/>
    							</View>
    						</XmlDefinition>
    <parameterbindings>
    							<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
    							<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
    							<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
    							<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
    							<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
    							<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
    							<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
    							<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    							<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(core,noXinviewofY_DEFAULT)" />
    							<ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    							<ParameterBinding Name="MoreAnnouncements" Location="Resource(wss,moreItemsParen)" />
    						</parameterbindings></WebPartPages:XsltListViewWebPart>
    </marquee>


    smith

  • 03 Mei 2012 19:36
     
     Jawab

    I am sorry Smith, I am unable to replicate your issue nor see any code issues. I am able to use your marquee code (I copied and pasted it) and replicate the desired function, except for the start and stop. It does however scroll, without the <marquee> tags, this page does view correctly without errors correct? What browser are you using?

    This might also help out, I just found this.

    http://arabic2000.com/blog/index.php/archives/213