Project Siena app and analytics system

Hi,
  how I could implement analytics system in my Projects Siena app?
Thanks,
Mantvydas

Hi Mantvydas,
Within Siena, there is no native support for instrumenting your app. However, once you publish your app from Siena and
convert to an *.appx package, that is consumable via Visual Studio, then you could look at leveraging technologies such as
AppInsights for Visual Studio Online to accomplish this.
AppInsights gives you full usage analytics, that informs you exactly how your app is being used and provides detailed performance data about your app. For more details about implementing such within your app, you could review
this comprehensive post from the Windows Apps Team.
Hope this helps, thanks!

Similar Messages

  • My 2 Project Siena Apps listed as New and Rising in Windows Store

    Hmmn, my two latest Project  Siena apps, GOES Satellite Imagery and Doppler Radar Mosaic Imagery are
     listed as new and rising with some heavyweight products like BBC and Weather Channel. I must be hallucinating. I have no idea what being listed with such heavy hitters means, but...
    -- Barb Bowman

    Nice one Barb, congratulations

  • How to incorporate live tiles into a Project Siena app (kinda)

    Hi guys,
    I have been playing around with getting some live tiles into my project siena app (Astronomy Action Centre), and at last I have managed it.
    What I did was as follows
    Publish your app as normal and import it into Visual Studio
    When you have it imported paste this code into the init.js file. I pasted mine into the following location of that file. Near the top of the file (just before the var statements)
    CODE TO PASTE
    var notifications = Windows.UI.Notifications;
                    var recurrence = notifications.PeriodicUpdateRecurrence.hour;
                    var urls = [
                        new Windows.Foundation.Uri("url1"),
                        new Windows.Foundation.Uri("url2"),
                        new Windows.Foundation.Uri("url3"),
                        new Windows.Foundation.Uri("url4"),
                        new Windows.Foundation.Uri("url5")
                    notifications.TileUpdateManager.createTileUpdaterForApplication().enableNotificationQueue(true);
                    notifications.TileUpdateManager.createTileUpdaterForApplication().startPeriodicUpdateBatch(urls, recurrence);
    END OF PASTE
    What you need to do now is replace the url1,url2,url3,url4,url5 with data sources.
    I got mine from http://www.buildmypinnedsite.com/en
    This site creates live tiles for your webpage but we are going to use the datasources for our app.
    Enter the RSS details of the site that you want to have as a live tile into this site.
    Here is the RSS url from my own site
    http://www.viewfromascope.com/feed/
    follow the steps through to the last one and you will get a code like this
    <meta
    name="msapplication-TileColor"
    content="#000000"/>
    <meta
    name="msapplication-notification"
    content="frequency=30;polling-uri=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=1;polling-uri2=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=2;polling-uri3=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=3;polling-uri4=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=4;polling-uri5=http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=5;
    cycle=1"/>
    Now copy the links below in place of the url1,url2,url3,url4,url5 in the code we pasted into visual studio.
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=1
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=2
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=3
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=4
    http://notifications.buildmypinnedsite.com/?feed=http://www.viewfromascope.com/feed/&amp;id=5
    Now save and run your app, if you browse to your Start menu and pin your app you should see the live tiles updating.
    the caveat is that you have no control over the layout of the tiles, it seems to work best in wide and square format, the large tile updates but keeps repeating the same news.
    So there it is live tiles on a project siena app.
    if anyone can add to this I would love to hear from you, or if you have any questions please let me know.
    Latest Version of my own Project Siena App with live tiles
    http://apps.microsoft.com/webpdp/app/0c8cff77-1e0f-445b-9628-92fe602d2c98
    Ronan

    If you aren't going to use a live tile on an actual website, you don't have to use buildmypinnedsite dot com.
    Here is a template. If you have multiple REST/RSS sources, you can use different sources for each of the 5 items that are cycled. They can be from different sites. You need to check if images in the feeds are enclosures. If they are, then the feed won't
    work properly. You can use text and image based feeds or text only, just don't use any that have enclosed images. Here is a template you can copy and paste. replace the red text with your own customized information.
    var notifications = Windows.UI.Notifications;
    var recurrence = notifications.PeriodicUpdateRecurrence.HalfHour;
    var urls = [
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed1&amp;id=1"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed2&amp;id=2"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed3&amp;id=3"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed4&amp;id=4"),
    new Windows.Foundation.Uri("http://notifications.buildmypinnedsite.com/?feed=http://whateverrssfeed5&amp;id=5")
    notifications.TileUpdateManager.createTileUpdaterForApplication().enableNotificationQueue(true);
    notifications.TileUpdateManager.createTileUpdaterForApplication().startPeriodicUpdateBatch(urls, recurrence);
    -- Barb Bowman

  • Surface Pro 3, Project Siena Apps, Need CSS for that form factor ASAP please

    Now that the Surface Pro 3 is out, I really don't like the black bars that appear above and below Project Siena Apps.
    I don't know enough to figure out how *I* can edit the CSS which currently states:
    #publishedCanvas {
        /* TASK: 73670: Add support for different form factors. */
        width: 1366px;
        height: 768px;
        background-color: transparent;
    but I'd like the code I should use (at my own risk, I know) to fix the CSS for all my apps.
    Please, MS folks or anyone?
    -- Barb Bowman

    Now that the Surface Pro 3 is out, I really don't like the black bars that appear above and below Project Siena Apps.
    I don't know enough to figure out how *I* can edit the CSS which currently states:
    #publishedCanvas {
        /* TASK: 73670: Add support for different form factors. */
        width: 1366px;
        height: 768px;
        background-color: transparent;
    but I'd like the code I should use (at my own risk, I know) to fix the CSS for all my apps.
    Please, MS folks or anyone?
    -- Barb Bowman

  • My latest Project Siena App is now in the store

    I decided to build yet another Project Siena App the other day when I was semi snowed in.
    My NWS-NOAA Weather Prediction Mini Center Windows 8 app lets you quickly view the National Forecast Chart for three days, shows the Quantitative Precipitation Forecasts for up to 7 days, and view Excessive Rainfall Forecasts. It’s available now in the
    Windows Store (for USA). You can read more about it (and my love for Project Siena) at
    http://digitalmediaphile.com/index.php/2014/02/20/my-weather-prediction-mini-center-app-is-now-available/.
    This very simple app went through store certification in record time yesterday. Made my head spin.
    Submitted at 1:15pm
    Approved at 2:10pm
    Available at 2:45pm
    All times above Eastern.
    Main screen:
    Can't wait to see what the next release of Project Siena brings. Hoping for Portrait view CSS support and Windows 8.1 target support.
    -- Barb Bowman

    On Tue, 6 May 2014 11:05:13 +0000, MonaTech wrote:
    >In terms of styling what I do is
    >
    >1. create an excel file with 1 column titled num1 or something
    >
    >2. Beneath that add sequential numbers 1,2,3,4,5 (the numbers correspond to the number of pages in your gallery), create a table and save the file
    >
    >3. Add that file as a data source.
    >
    >4. Create a custom gallery and make set the items to the table,
    >
    >5. Start adding your elements to the first section of the gallery
    >
    >6. in the visible property add if(thisitem!num1=1,true,false)
    >
    >This will make that element appear on the first section of the gallery, if you put if(thisitem!num1=2,true,false) then it will appear in the second element and so on.
    >
    >It does get a little awkward when you start adding more elements but if you label each element correctly it makes live an awful lot easier.
    >
    >Using this method you can add items of different sizes and shapes to each element of the custom gallery. So you could make something like the bing news app if you like.
    >
    >I hope this helps, if you have any other questions please let me know, also I would love to see your siena forum app, I really like the layouts of your other apps and would be keen to see your app on the forum.
      that's really cool. I like that alot.
     After I saw your post about the app, I stopped playing with mine ;-)  Maybe
    I'll finish it... But since yours works, I didn't see any need <G> as I was not sure how to fix the messy HTML tags in the description. Like I said, MS has an RSS feed that leaves a lot to be desired.
    -- Barb Bowman

  • Project Siena app Publish Issue

    Hi all,
    I have just started creating Siena App and created simple translator app, its working fine but when I try to publish it using File-->Publish it shows me a warning prompt saying "Download Update require" when I click on "Download" the
    another windows appears and says "Error while Downloadin".
    Can you please tell me what is the reason behind such an issue. I searched on the net but could not find helpful answer and any post related to its resolution.
    Any help would be highly appreciated.
    Thanks.

    What Thor is suggesting is reasonable but it is odd if there is some restriction. The download update required is going to open web site.
    I would suggest trying this again and if it continues to fail, you might want to capture a Fiddler trace and we can take a look at it.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Harold Kless Microsoft
    Online Community Support

  • My first Project Siena APP! - Cooking Utility Belt

    Just started using Project Siena and I built my first app. What a fun experience. There was a bit of a learning curve and some additional documentation would have helped but the forum came through for me.  Here is my app, check it out :)
    Cooking Utility Belt
    Tim

    Doing some more research, I came across this in the free e-book from Microsoft Press, Programming Windows Store Apps with HTML, CSS, and JavaScript (Second Edition):
    For basic licensing and trial enforcement, the good news is that both are effortless: the app doesn’t need to do anything at all! A user cannot acquire your app without going through the Store, and even if he did manage to, he’d have to have a developer
    license to install and run it. Furthermore, because the Store automatically tracks trial periods for apps, Windows will simply not launch an app once the trial is expired. Instead, Windows will redirect the user to the product’s page in the Store where the
    user can purchase a full license.
    What that means to me is that when submitting the app in the store you can select if it's a trial mode or not.
    Although it's not as elegant of a solution with code, at least there isn't a concern of losing functionality when a new version of Siena is released, either!
    Thor

  • Live Tile - Project Siena App

    I understand that it is not possible to create / configure a live tile within Project Siena.
    But is it possible to add this functionality once the project has been transferred to visual studio.
    I have been looking online and have seen some examples of creating a live tile but I have no idea where the code should go within the project.
    Any help would be most appreciated.
    Ronan

    Hi MonaTech, 
    as you've noticed Live Tiles are not supported in Siena Beta 2. If you want to invest time in experimenting with a homegrown solution in this area, I can provide a hint for a starting point. That said, please be aware that once you start modifying the published
    package you are completely at your own risk and any modifications you do today are not guaranteed to work in the future as the layout of the published package is implementation detail and not an interface.
    You can take a look at js/init.js in the published package. It contains the initialization logic of the published app and you might find it to be a useful starting point.
    Hope this helps!
    Manski

  • Project Siena Branding and Naming

    Hello,
    Maybe a strange question but is the term "project Siena" here to stay or might there be a rebranding for example in the direction of Office, App, etc. (like Office Mix).
    Context: maybe some of us are considering a dedicated usergroup and having the right name might be a positive thing :)
    Regards
    StonyArc
    http://www.stonyarc.com http://www.xboxlivenation.com

    Great question without a good answer. There are rumors and discussions about a final name but nothing more solid than a whiff of smoke.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Harold Kless Microsoft
    Online Community Support

  • Add project siena app to favorite key on keyboard

    Hello and merry Christmas to everybody
    Have anyone tried to add widows8 app as project sienna into a favourite key on your keyboard?
    Sorry for asking that here but I haven't found better discussion for windows comfort 5000 keyboards or a solution on net

    Hello,
    As long as you stay in your app you can do the following in Siena.
    Assuming you have your audioplayer on screen1. Set the start parameter of the player to "audiostart" and the loop to "true"
    In the onVisible of the screen you can then add the following (you can add that to a button or something else too)
    UpdateContext({startaudio:false});UpdateContext({startaudio:true})
    That will keep on playing the audio regardless of the fact that you are moving away from the screen.
    Just make sure that your parameter autopause is set to False (same with autostart).
    Reading your post you want in to play even when moving completely away from the app (e.g. start doing something completely else).
    I'm not sure that is possible today with Siena. If that's a function you want to add to the wishlist you can add it to
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Regards
    StonyArc
    http://www.stonyarc.com http://www.xboxlivenation.com

  • Custom CSS in Project Siena App

    Anyone :-)  ,
    I have a very simple app that displays images in a gallery.  All I want to do is edit the code of the app so I can add some CSS rules to the images to allow for pinching and zooming: 
    http://msdn.microsoft.com/en-us/library/ie/hh920761(v=vs.85).aspx
    The TechNet Site for Siena says it’s possible to edit the files: 
    http://technet.microsoft.com/en-us/dn518139  I just can’t seem to find the
    correct file(s) to edit to make it happen. 
    Does anyone know which file(s) this info is stored in and/or the steps needed to accomplish something like this?
    Steps taken to locate the file(s)
    I create the Siena App (placing a huge, red border around my images so I could find them in the code better)
    Saved it
    Published it (resources locally)
    Opened all files in the "PublishedPackage" folder in an attempt to locate my huge red bordered image formatting
    Thanks for any help!!!!
    Thanks, Matt

    Hi Matt,
    You can find the code for the controls inside the ctrllib folder of the published package. For example, the CSS for the gallery can be found in PublishedPackage\%APPNAME%\ctrllib\gallery\css.
    To see the code generated for the expressions associated with visual properties go to PublishedPackage\%APPNAME%\js\init.js
    For example if you add a simple Image gallery and set the image border thickness to 4 you will see the following code in
    init.js
    AppMagic.AuthoringTool.Runtime.getNamedObject("Image1",null).OpenAjax.setPropertyLambdaInternal("BorderThickness",function (bc) { return 4; },bc);
    Hope that helps.
    Olivier

  • Extremely slow address completion in Mail.app and general systems freeze

    Hello all,
    Since the middle of last week I suddenly experienced
    a extreme slow down of Mail.app address completion,
    it take about a minute to type/complete an address even
    whenever the completion option is checked in the preferences.
    Then Mail.app use nearly all system disk ressources: 'ls' in a terminal
    takes forever to complete, safari stops responding, etc... my Mac
    is unusable. I got into situation where i couldn't force-quit
    or ps/kill -9 any process,... reminiscent of a PC nightmare.
    In addition some mail messages are painfully slow to display,
    the problem seems to occur on some specific messages and does
    not go away when completion is disabled.
    This happens it seems, but I am not 100% sure, after I recieved
    mails with with strange accentuated charaters and ';' in some
    CC addresses.
    I go the zombie AddressBookSync problem described
    http://discussions.apple.com/thread.jspa?messageID=8380028
    starting addressbook then Mail.app as suggested by on user
    solved the zombie problem, but not the completion problem
    and the system is still somewhat slugish. I got a 4GB 2.4Ghz
    imac. Neither my mail nor any disk item substancially increased
    last week.
    Now there is something strange. I tryed to remove putative
    faulty addresse from previous recipient list with
    'windows -> previous recipient' but the list is empty, yet
    Mail.app does complete the addresses I type! (although it
    does it at nerve breaking turtle speed), where are the
    completed addresses taken from???
    Has any one experience this problem? Any idea?
    Thank

    When I attempt to open Mail.app Preferences, the app freezes
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Add background audio to my Project Siena App

    I want my audio player to play the song even if the application is minimized....
    Please Help....
    Searched many forums but Didn't find
    audtag.setAttribute("msAudioCategory", "BackgroundCapableMedia");
    or
    <audio id="audtag" autoplay="true" msaudiocategory="BackgroundCapableMedia" src="/sounds/rihana.mp3"></audio>
    like stuff......

    Hello,
    As long as you stay in your app you can do the following in Siena.
    Assuming you have your audioplayer on screen1. Set the start parameter of the player to "audiostart" and the loop to "true"
    In the onVisible of the screen you can then add the following (you can add that to a button or something else too)
    UpdateContext({startaudio:false});UpdateContext({startaudio:true})
    That will keep on playing the audio regardless of the fact that you are moving away from the screen.
    Just make sure that your parameter autopause is set to False (same with autostart).
    Reading your post you want in to play even when moving completely away from the app (e.g. start doing something completely else).
    I'm not sure that is possible today with Siena. If that's a function you want to add to the wishlist you can add it to
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Regards
    StonyArc
    http://www.stonyarc.com http://www.xboxlivenation.com

  • Project Siena can't download?

    Hello everyone,
    When I try to Publish a simple Project Siena app it comes up with a dialogue saying Publish update required, I click download then it brings up an error message saying Download error, There was a problem updating Project Siena. Please try again.
    What should I do? How do I publish my app?
    Any help would be appreciated.
    Thanks, Cooliew

    Chopsrob and ASK47,
    If you're using a work issued laptop it may be a proxy / policy issue?  
    Sounds similar to what this person reported:
    http://social.technet.microsoft.com/Forums/en-US/38bf116e-e548-4ff0-967f-a0a3c756d4fd/project-siena-app-publish-issue?forum=projectsiena
    And a bit more on what Siena is doing can be found here (user experiencing a similar problem):
    http://social.technet.microsoft.com/Forums/en-US/498c6a07-6c9e-4e5b-84f6-95f9e06b0790/siena-installapp-fails-to-download?forum=projectsiena
    Thor

  • Project Siena download

    Hi. I'm trying to download the Project Siena app to install but I can't find where to download it. I've been here;
    http://apps.microsoft.com/windows/en-us/app/5ae47651-e8f3-4e41-aab7-e19ab1b80180,and here; http://www.microsoft.com/en-us/projectsiena/default.aspx,but there is no download link for the app. Can someone tell where(include link
    please) to download Project Siena? Thanks.

    Hi,
    The Download link should be at the top of the page.
    If you don't see it, it is possible that Siena is already installed on your machine. Try the following:
    - Go to the start Menu
    - Type Siena
    Most likely you will see a search result saying "Microsoft Project Siena". You can decide to pin it to the start menu by right clicking on it.

Maybe you are looking for