MvvmCross Uri navigation - reconstructing backstack - mvvmcross

I am implementing URI navigation in my iOS app, for the purposes of deep linking.
Our application is quite "nested", and when a user deep-links, I still want them to be able to navigate "back" to any of the ancestor views.
For example,
I have a navigation stack
Sites List (Home) -> Site Details -> Products List -> Product Details
If the user has deep linked (via URI) to a specific "Product Details" view - hitting back should take them to "Products List", not "Home".
When reading the fundamentals documentation, it states "The Uri navigation of the NavigationService will build the navigation stack if required. This will also enable deeplinking and building up the navigationstack for it."
I may be incorrectly interpreting this statement to say that it should achieve my needs... I hope it does - but obviously I need to do some work to get it to... however there is no documentation on how to achieve this.
I expect that I need to somehow tell the MvvmCross subsystem of the relationships (user flows) between my viewmodels....
Does anyone know more about this area?
Thanks

Related

Adobe Sign: How to suppress read-only mode in sent document

I've created an agreement with the agreements REST API and am displaying it in an iframe using the signingURLs API. However, the UI that Sign presents in the iframe includes an Options menu in the top left with a "Read Agreement" option which, when clicked, reloads the document in the iframe in a read-only mode with no apparent way to get back to where the user can actually sign.
My main question is whether there's a way to prevent the Read Agreement option when the agreement is created (I pored over the API docs trying to find a way, but didn't spot one).
If not, is there a way to suppress the menu item at the account/group level? I was able to find some info online about how to suppress the Delegate and Decline option menu items, but not this one.

How to get Chrome context menu not grouping profiles?

How ungroup the "Open as..." context menu entry?
If I am using only 2 Profiles, I'm good
Screen of only 2 profiles
As you can see in the screenshot, I have to do two clicks for opening an url link within the other profile.
Screen of 3 or more profiles
But if I have a third profile, the context menu changes, it creates an expandable item, grouping the other profiles. That is very annoying, because I have to navigate first to the "Open as" line and then after a short delay or an additional click the profile-list appeares where I need to select appropriate profile.
Can we revert the behaviour to list all available profiles within the root context menu?
May we create a keyboard-shortcut for every profile, so pressing the asssigned button while clicking on any links, will open the url in that profile.
Or is there an extension for doing the job? I couldn find any useful information to solve this...
Thanks in advance for any helpful advices :)
(sorry for the spellingmistakes)
Offtopic:
(migrating from ff to chromium. Everyday web-based apps for end-consumers getting more focus, which means in my eyes, programmatically design gets more limited due to the main concept behind our standardized world wide web. And additionally user control gets worse everyday because that's the new key to generate money no longer just for complex & highly specialized products. e.g. timeinvestigation is enormous to through out all the bugs and bullshit extensions to get a reasonably useful tool for accessing the world wide web.)

Game show buzzer screens

I'm doing a training class right now and one of the games I plan on doing is a Jeopardy style of Q & A. The problem I'm trying to figure out is the buzzer. My idea is to use the projector as the question board I control. The trainees would go to an HTML page with nothing more than a single button. They would turn their monitors around to face me up front. As soon as I read the question they would click the button and it would change their screens the color red.
The button and background color change is easy enough, I got that. There are two problems I'm facing: 1) I need it so that they can't click the button until I'm done reading the question - this one isn't as important, I can just make up a rule. 2) Only the fastest person will have a red screen. To show me who clicked first. The others' buttons will be disabled.
I just have no idea how to even Google these two things. Like: "Disable button for other users"...? Or maybe, "only one click"...?
Any direction to search is appreciated. Eventually, I'd like to add other aspects to like the presenter could click an "incorrect button" then it would clear the screen and enable all the buttons again, for the answer steal.
You can do it with modern WebSocket or applications interact via TCP. However, WebSocket may be overkill for the simple application with a few teams. I faced the same problem before and developed a simple solution with PHP using Flock to write into a shared file on disk. Only request from one team gets the chance to write into that file. Stick to not to use WebSocket, the web page on client site does some polling to receive the "restart" signal from the server for the new question/round. It can run in LAN, different team gets different site, i.e. http://[server-ip]/team1, http://[server-ip]/team2.
You can have control over the round: allow them to press button/ restart, start a new question in http://[server-ip]/admin.
Further improvement can be made in several ways to facilitate your needs (i.e. assign team name, register team, use database instead of a flock file). The code is available here : https://github.com/minhhn2910/buzzergameshow

Menu Items in Windows 8?

Am trying to design my metro app like, In my homepage I need to display list of items in a menu on the left side of page and when we click on each item,every item will need to navigate separate page and contains some data.Can anyone suggest me which control should you I take to start my scenario?Working examples are really helpful to me.
Thank you.
Navigation in a WinRT App doesn't use the Menu/Menu-Item metaphor. You can add an App Bar that swipes up from the bottom of the screen that you place contextual controls such as buttons related to the current page or selected item(s). You can also add global settings to the Settings charm that swipes in from the right.
What you are describing sounds like the "Split App" template that comes out of the box with Visual Studio 2012. It consists of a list of items along the left-hand side of the screen which, when selected, change the content on the right-hand side of the screen. Try creating a new Split App and see if that helps.
This is not a completed worked example, but I would recommend looking at two items:
MSDN Documentation for WinJS.Navigation
MSDN Sample for navigation application
These should get you the solution you need -- the sample is quite complete, and can be tailored to your needs.
It sounds to me like what you are talking about is the SplitApp view. Check out this link, the second template listed, just below GridView:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh768232.aspx
You'll find that in Modern/Metro things like menus are handled through contextual listviews in the window content area, or through charms (read icons) on the AppBar. Many people hear menu now and cringe, just due to the style guidelines for Chrome/Menu free applications.
If you don't want the content to display next to the links, as the SplitApp view does, you should consider a regular listview for your links, styled however you like and set to display vertically, with click events that take you to whatever detailed page view you want to go to. Navigation is dead simple in a Metro App.
C# Example:
this.Frame.Navigate(typeof(MyDetailPage),myContentId);
Then on your details page, you can get the argument when it's navigated to:
protected override void OnNavigatedTo(NavigationEventArgs e)
{
var myContentId = e.Parameter;
...
}
And if absolutely none of the above was helpful, try checking out these examples. I know you probably aren't making an RSS reader, but they will take you through the basics of the various views and navigation.
Create a blog reader with C#/VB & XAML:
http://msdn.microsoft.com/en-us/library/windows/apps/br211380.aspx
Create a blog reader with JS & Html5:
http://msdn.microsoft.com/en-us/library/windows/apps/hh974582.aspx

How to find which rule is firing in Endeca PageBuilder?

Endeca's PageBuilder shows a particular landing page depending on which section of the site you're viewing. In our installation, a retail site, there are a ton of landing pages, so troubleshooting can be tough. Consider this situation:
I've created a template that should launch at location "Section: Men's wear", "Category: Ties". Instead, a different landing page is shown. It turns out someone had inserted a rule at a higher priority that applied to anything under "Section: Men's wear". Is there a way of querying the rule manager to find out which rule will fire for a particular set of dimensions, letting me go straight to that rule to edit it?
It is possible to use page builder or the rule manager and preview any url state. Just click the preview button that is located on the landing page view or rule manager view.
Also check out:
https://endecacommunity.com/
User #Wiszh has answered this in detail here:
Determine Rules triggered by endeca
The proper way to do this is with the Content Assembler API (endeca_content.jar). You need to create a content query and retrive the content object:
ContentItem content = results.getContent();
content.getName();