Creating xslt dataview in a app part with visual studio for office 365 :

Hi,
I have a requirement for creating a app part which contains a list data view in office 365. Basically app part does not support dataview so i have started working with xslt data view inside a app part.
I have a sharepoint hosted app which contains a list. Now i am not getting a reference or a starting point to develop xslt dataview inside my app part.
Need help :)
thanks in advance.
Regards:
Sanjay Joshi

Hi indrajeet,
Thank you for your code. I incorporated your code in my page. Below is my code and xslt data view web parts.
That code works fine. But i am not able to manage the title of the collumn in data view. And reading xslt code in sharepoint 2010 designer is very typical. Please help me how can i manage below problem.
<WebPartPages:AllowFraming ID="AllowFraming" runat="server" />
<WebPartPages:WebPartZone runat="server" FrameType="Standard" ID="full" Title="loc:full">
<WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart2" runat="server" ListUrl="Lists/Expense" IsIncluded="True" NoDefaultStyle="TRUE" Title="Test List" PageType="PAGE_NORMALVIEW" Default="False" ViewContentTypeId="0x"><xsl>
        <xsl:stylesheet
        version="1.0"
        exclude-result-prefixes="x xsl cmswrt cbq" 
        xmlns:x="http://www.w3.org/2001/XMLSchema"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime"
        xmlns:cbq="urn:schemas-microsoft-com:ContentByQueryWebPart">
        <xsl:output method="xml" indent="no" media-type="text/html" omit-xml-declaration="yes"/>
       <xsl:key name="Grouping" match="Row" use="@ExpenseType" />
      <xsl:template match="/">
          <table id="ExpenseDetail" border="1" cellpadding="1" cellspacing="1" width="100%">
             <tr class="ms-vb">
                  <td align="left" valign="middle" width="15px">Title</td>
                  <td align="left" valign="middle" width="15px"> EmployeeID</td>
                 <td align="left" valign="middle" width="15px">Employeeloginname</td>
                  <td align="left" valign="middle" width="15px">ExpenseDescription</td>
                 <td align="left" valign="middle" width="15px">TotalExpense</td>
                  <td align="left" valign="middle" width="15px">ApprovedBy</td>
                  <td align="left" valign="middle" width="15px">IsEmployeeActive</td>
                 <td align="left" valign="middle" width="15px">ApproverComments</td>
            </tr>
            </table>
     <xsl:for-each select="/dsQueryResponse/Rows/Row[generate-id(.)=generate-id(key('Grouping',@ExpenseType))]/@ExpenseType">
      <xsl:sort />
         <table border="1" cellpadding="1" cellspacing="1" width="100%">
           Group By Expense Type : <xsl:value-of select="."/>
            <xsl:for-each select="key('Grouping', .)">
            <tr class="ms-vb">
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@Title" /></td>   
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@EmployeeID" /></td>
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@Employeeloginname" /></td>
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@ExpenseDescription" /></td>
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@TotalExpense" /></td>
                <td align="left" valign="middle" width="15px"><xsl:value-of disable-output-escaping="yes" select="@ApprovedBy" /></td>   
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@IsEmployeeActive" /></td>
                <td align="left" valign="middle" width="15px"><xsl:value-of select="@ApproverComments" /></td>
           </tr>
          </xsl:for-each> 
        </table>  
    </xsl:for-each>  
        </xsl:template>
</xsl:stylesheet>
</xsl>
</WebPartPages:XsltListViewWebPart>
</WebPartPages:WebPartZone>
Please help on managing the collumn name. Not sure how to keep my xslt in the page so that dataview look good.
Regards:
Sanjay

Similar Messages

  • Project Online with Project Pro for Office 365

    Hi,
    I have several licences for Project Online with Project Pro for Office 365.
    Project Web App is working fine, as well as Excel Web App, Word Web App...
    I just miss  Project Pro for Office 365. I don't know were to find it, how to activate it :-(
    Thanks for your help !

    Please find the link for activation
    http://technet.microsoft.com/en-us/library/gg982959.aspx
    for trouble shooting 
    http://support.microsoft.com/kb/2745026
    http://social.technet.microsoft.com/Forums/projectserver/en-US/bbd848ab-b383-46b7-b968-91d233d252eb/how-to-install-project-online-and-project-pro-for-office-365?forum=projectprofessional2010general
    kirtesh

  • Creating mdf file from a database project in Visual Studio for Web

    I am very new to database programming in Visual Studio and SQL Server Express LocalDB. I went through a walk through of setting up a database project (using visual studio express 2013 for web and SQL Server Express LocalDB), adding tables and entering data
    and everything worked fine:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    Then I wanted to move on to trying to build a simple application to access this database so I looked into the following tutorial:
    http://msdn.microsoft.com/en-us/library/ms171890.aspx
    In a nutshell the tutorial says to add a new datasource and navigate to the database file, and it is looking for an .mdf file. 
    The database project that I created does not have an mdf file in it, only sql file, visual studio project, dbmdl file, options file, source browser database, etc.
    How do I create this .mdf file, that step didn't seem to be explained in the first tutorial. I tried running the project, but didn't see any build options for creating the .mdf file. Again, sorry for the absolute beginner question. 

    Thanks edencorbin
    I am glad to hear that it was helpful and you succeed :-)
    With that said, It is time to close the thread :-)
    please mark responses that were part of the answer as the answer in order to close the thread. once at least one of the responses in a thread is marked as answer, the thread Icon changed into V and the thread look like it is close(you can continue working
    on a thread after this point, but usually new supporters will not check this thread).
    Have a good day :-)
    [Personal Site] [Blog] [Facebook]

  • Can I use the NI DAQmxbase C functions to develop a Smart Device application using a NI USB or NI ENET 9234 C module with Visual Studio for an iMX31 (ARM 11) embedded computer running Win CE 5.0 or 6.0?

    I have an embedded application running on a iMX31 (ARM 11) that does fairly high performance analog input (24 bit, 50K samples/second).  I use Microsoft Visual Studio 2005 C/C++ for the develoment environment and have currently built versions of the application for Win CE 5.0 and 6.0 without Labview or NI hardware.  I have used the NI 9234 with great success on several Labview applications in the past and I'd like to use the 9234 on this embedded application with VS2005 C/C++. The NI documentation hints that I should be able to do this (maybe I'm overly optimistic) and I'm wondering if anyone else has?   I've tried the Evaluation versions of Labview Mobile and Labview Touch panel to build a C application using the NI DAQmx base C function inside Visual Studio without success.  I can compile and link the ContAcq IntClk LV example project for an x86 platform using NIDAQmx but not for a ARM platform using NIDAQmxbase.lib.  I get the same linker error   error LNK2019: unresolved external symbol referred to in Knowledge Base Document ID 4HAEE7QQ  even though I've set up (or think I've set up ) VS2005 as the KB article indicates.
    If anyone has used the C functions and NIDAQmxbase library inside a VS2005 Smart Device project, I'd greatly appreciate your comments.
    Thanks 

    Hello Gene,
    I have been checking into this for you and have found out that what you are trying to do cannot be done.  At least not in the current manner you are hoping for.  The internal architecture of DAQmx Base requires the cross-compiling capability of the LabVIEW Mobile Module. While a stand-alone compiler can compile DAQmx Base calls for desktop processors, it cannot compile DAQmx Base calls for ARM.
    If your application requirements exclude the LabVIEW toolchain, then the remaining option is the USB Driver Development Kit which is avaliable here, but you will have to contact your local field sales representative to discuss support
    options as standard phone and e-mail support are not available for the
    NI Measurement Hardware DDK. 
    NI Measurement Hardware Driver Development Kit
    http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US
    ColeR
    Field Engineer

  • Project working with Project Online in Office 365

    Hello,
    My question is related to project working and using Project Online to track projects.
    * Can I use a single "Project Online with Project Pro for Office 365" subscription for tracking and creating reports about all project sites and their tasks in Office 365?
    Meaning, if we have multiple projects designed in Project Pro and then uploaded directly to Office 365, can we gather the task, resource and progress information from these projects (created directly to Office 365) in a Project Online overview? One person
    using Project Online to oversee multiple projects, others uploading their projects and changing task information in Office 365 to a SharePoint site with Project Pro and Office 365 subscriptions.
    We want to have one person with Project Online overseeing the progress and create reports on all projects that have been uploaded to Office 365 (Project Portfolio Management), but not creating new projects. Is this possible with just one Project Online subscription?
    The other users would all have an Office 365 Enterprise 3/4 subscription for accessing Office 365, collaborating and updating their tasks. Project managers would have a Project Pro subscription for creating and uploading projects to Office 365.
    Thank you in advance.

    Helen,
    Your question is slightly confusing, so let me try and say it this way: 
    1) Your PMs (multiple) will use Project Pro, to create and publish plans to Project Online
    2) You will have one user who will 'administer' Project Online and create reports etc.,
    3) You will not have any other users access Project Online
    4) I am not sure about you 'SharePoint' comment--so excluding this.
    The problem is that, Project Pro+Office 365 does not necessarily give you access to Project Online. This combination is more useful when you are using just Project Pro or using project Pro to sync plans with Task lists on SharePoint Site. Plans that are
    uploaded this way will NOT appear in Project Online. So, the person who has the Project Online license will not have any data to report on.
    Having said that, here are few options:
    1) Stick with Project Pro +Office 365. Team Members can access "Task" lists in SharePoint Sites. In this scenario, Reporting will be somewhat complex, because each site is its own, and you might have to customize to be able to report across multiple sites. 
    2) If you want an easier Project Portfolio Management, Project Online is better. However, in this case, your PMs need to get Project Online with
    Project Pro for Office 365 which will allow them to publish plans to Project Online. Then your user with project Online license can generate reports for the portfolio easily. In this scenario, if you want team members to be able to submit timesheets,
    work with documents etc., you might want to look into getting the Project Lite for them (http://blogs.office.com/2014/03/31/project-lite-may-1st/)
    Hope it helps.
    Prasanna Adavi,PMP,MCTS,MCITP,MCT http://thinkepm.blogspot.com

  • App Hub sample visual studio fo Windows phone

    app Hub sample visual studio for Windows phone , i can not to view content page in item , how to view it
    sample please ?

    Hi,
    I'm not sure if we can directly convert the Android project to Windows Phone/Store app project, but we can share the code between deferent platforms, as the documentation says here:
    https://msdn.microsoft.com/en-us/library/dn771552.aspx?f=255&MSPPError=-2147217396#ShareHTML
    If the code is specific to Android platform, it's not possible to convert it to windows platform I think.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I double-click a file to open it in default app in my Visual Studio project without creating an installer?

    I have an app with code to open a file by double-clicking on it. The app in my Visual Studio project file should start automatically and then open the file automatically. I double-click on the file, then look for the app in my solution folder (I choose the
    .exe in the Debug folder). Am I choosing the correct .exe file?
    What I'm trying to do is test some code I wrote that will open the associated file type when I double click on it, as opposed to creating an installer, installing the app and then double-clicking on the file to see if it will open in the associated app automatically.

    Hi dudefromthebronx,
    Yes, I think you could doubt click the .exe file in your local machine.
    Of course, maybe you could get it in Bin\Debug or Bin\Release folder, it is related to the current project settings.
    But we would know some differences between them:
    http://stackoverflow.com/questions/11600162/difference-between-bin-debug-and-bin-release
    https://social.msdn.microsoft.com/Forums/en-US/0cde96e6-8dd8-4aa9-adcf-d7f45da13b66/debug-bin-release-folders?forum=vbide
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create plug-in for Adobe with Visual Studio 2008

    Hi to all, I'm Italian excuse for my english,
    I see Adobe SDK Help, but I don't see something for built a plug-in with Visual Studio 2008, I see only built with Visual Studio 2005!
    my asks is : Because ? Can I create a plug-in with Visual Studio 2008? if yes WHAT did it?
    thanks

    Post your question in the 'Acrobat Developers SDK' forum.

  • HT201272 Is the app Scramble with friends only for the iPhone?   I installed it to my iPad but it keeps freezing up.

    Is the app scramble with friends only for the I phone?   I installed it to my new iPad and it kept freezing up.  I uninstalled it and then installed it again, same thing happens.

    it seems to be crashing for everyone - not only iPad's, but on my iPod Touch 4G, and my brother's brand new iPhone.... Zynga doesn't have any answers either.  They are useless.  The only thing that helped temporarily is when I deleted it from my iPod and reinstalled it. 

  • Can't Create New Excel Project Visual Studio 2013 Office Tools The Project Cannot Be Created

    I am having this issue on two computers. If I try to create an Excel 2013 Workbook C# in new projects, and choose create a new workbook, it starts to open Excel, and then I get this error in VS
    I have tried:
    Uninstall & Reinstall of VSTO from the Visual Studio Installer
    Uninstall & Reinstall of Visual Studio 2013 Ultimate, (manually removing anything with visual studio that was left over)
    Manually turning on the add-on Visual Studio Tools for Office Design-Time Adapter for Excel
    Installing VSTO by hand
    Enabling Macros
    Running VS as administrator
    Uninstalling & Reinstalling Office 2013 Pro Plus OLP
    I have made this change to excel:
    Like I said, this problem occurs on TWO pc's.  I have tried 2013 Visual Studio R1 and R2.  Does anyone have any ideas?
    Edit 3-1-2015
    There is still no answer to this, I have tried target frameworks:
    4.0
    4.5
    4.51
    And Running as Administrator.  Recently I upgraded to the CTP of Visual Studio 2015 Ultimate and the same problem exists.

    Thanks for the reply.
    The issue is not reproducible for me and I can confirm this not a known issue. We might need to do deeper troubleshooting at the repro machines.
    Because of its complexity your question falls into the paid support category which requires a more in-depth level of support.  If the support engineer determines that the issue is the result
    of a bug the service request will be a no-charge case and you won't be charged. Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Sangeeth,MSFT

  • Move a Excel 2010 Dokument Addin Project (Visual Studio 2012) to another devleopment machine with Visual Studio 2012 , but Office 2013

    Hi 
    we do have the following situation
    on computer A there is a Excel Document Addin development project , Visual Studio 2012, Office 2010 installed. All works fine.
    we would like to bring the project to another machine with Visual Studio 2012, but Office 2013 installed.
    Visual Studio can not build the project. It says that the application is not installed on the machine (though Excel 2013 is installed , but not Excel 2010) It seems to have a problem with the
    vbproj. 
    In other forums I found a hint that "Hostpackage = ..} needs to be set accordingly in the vbproj. I created then a "empty Excel-Addin project" under Visual Studio , looked at
    the Hostpackage entry, put that into the vbproj of "problem project. It still does not work.
    It would be great if anyone could help.
    Thomas

    Hello Eugene
    Problem is that it says that projectboard (the name of the main project) can not be loaded. All other projects in the solution can be loaded. Strange thing is , now that I try to create a empty excel Project it says that according to Excel security settings
    it can not be generated !? 
    I opened then Excel and set all Trust Center settings to "Default" - but no effect. I really have no idea what is wrong ..!? 
    Tom

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • How do I use infopath 2013 with visual studio 2013 to modify forms with code?

    Dear all,
    I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
    do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
    Timothy

    Hi,
    According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
    More information about develop InfoPath form with Visual Studio:
    http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
    For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
    Best regards

  • How to redirect to library on button click in sandbox visual web part solution for office 365

    Hi,
    I have created a sandbox solution for Office 365 with one text box and a button. 
    On button click i am creating a library with name from text box. 
    So, what i want is redirect to newly created library as soon it get created on button click.
    how could i do that?
    Thanks

    Got the solution
    <asp:Literal ID="litRedirect" runat="server" />
    string redirectURL =
    listurl;
    litRedirect.Text = "<script type='text/javascript'>window.location = '" +
    redirectURL + "/';</script>";

  • Troubles with Visual Studio Ultimate 2013

    Help, please, to resolve issue with Visual Studio Ultimate 2013:
    VS 2013 Ultimate update 2
    System.Exception
    Пакет не прошел проверку обновлений, зависимостей или конфликтов.
    Windows не удается установить пакет App.a5e822f7e.a1268.a4a33.aa189.adc2811990181, так как он зависит от другого пакета, который не удалось найти. Для установки пакета требуется как минимум версия 0.0.0.0 платформы Microsoft.VCLibs.120.00.Debug,
    опубликованной any publisher. Предоставьте платформу вместе с пакетом.
       at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object&
    processData)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework,
    String identifier, String baseDirectory)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
       at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Thanks You!

    Hi Jaer,
    >>System.Exception
    Пакет не прошел проверку обновлений, зависимостей или конфликтов.
    Windows не удается установить пакет App.a5e822f7e.a1268.a4a33.aa189.adc2811990181, так как он зависит от другого пакета, который не удалось найти. Для установки пакета требуется как минимум версия 0.0.0.0 платформы Microsoft.VCLibs.120.00.Debug, 
    опубликованной any publisher. Предоставьте платформу вместе с пакетом.
    Since this forum is support the English language, so I suggest you can provide me the Exception message by the English.
    In addition, I suggest you can provide me more detail message about your issue as the pvdg42's suggestion.
    For example:
    How did you get the system exception?
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to handle a lot of menuitems.

    Hi, I am in need of a solution that can handle a lot of menuitems on a mobile device. My vision: At the bottom of the screen there is always a Menu button. When clicked a list pops up above it and the background fades. Looking for something like the

  • Problem created during cretion of purchase requistion in third party sales

    entry does not exist in T024E- check your entry....                               pls solve it

  • Problem in Formatting Number in eTEXT template

    Hi All We want to format the payment amount for check in the eTEXT template. We want a number with 2 digits after decimal point and a comma before 3 digits to the decimal point. We tried using Number, ####,###.## But for the data 135 it is printing 0

  • Junk Mail in Inbox

    Starting on December 26, 2012 I began getting 8-10 spam emails within a one hour period. I have a @me.com account. The spam mail I received was not marked as Junk and showed up in my inbox. After researching, I found that you could "train" the mail t

  • To_char in version 10g and 11g

    I have a column (my_column) in a table (my_table) which holds the value as 2.8050000000000001598721155460225418210 When i perform the query as: select REPLACE(TO_CHAR(my_column, '999990.999'),'.',',') column_val from my_table; i get the result as ###