Windows Phone 8 In-App purchasing queries - windows-phone-8

I am just setting up in-app purchasing within my app .. it will be a single 'Durable' item that I am allowing the users to purchase.
I have got it going in testing with the MockIAP project, but it does raise some questions.
My Durable purchase will be an 'upgrade to pro' so I named the key as 'ProUpgrade' within the mock initial setup.
when I go to purchase the product within my app, the message asks if I want to buy (ProUpgrade). Is this the only name/description that is visible to the user? I thought that there were more descriptive terms that could be entered as part of associating the product to the app?
how will this work in a multi language app? The Key I am checking for is my 'ProUpgrade' key and presumably that is the name across all languages. It would be nice if a translatable name could be entered in the description (i.e. a different one for each language) but then as per my first point - not sure if that will ever be displayed. Perhaps this is clearer when the product is added to app as part of the submission, but I haven't got that far yet.
because I have a single product, i was not retrieving the product list for the app and was going straight in to check if its been purchased
if (!licenseInformation.ProductLicenses["ProUpgrade"].IsActive)
But as I found out, this a bit dangerous if its not in available product licenses. (Got an exception) Whilst I feel that I could rely upon my single product being there, presumably best to make the call to get all product licenses and check to see if its there?

In DevCenter, when you define your product (IAP) - you have to enter product alias,id (key) display name and description and list of languages. In the later stages in the product definition, depending on the earlier language selection, it asks for respective translations of the product definition etc.
This is the only place, where you define the IAP product info for all languages(if you decided to translate them), otherwise default language content will be displayed.

Related

Possible to add multiple language variants to projects in the same workspace?

I'm in the process of setting up projects and training engines in a workspace.
I want to create all the projects using the same metadata so that they will all share the same Category ID (so they can all be called from the same TMS workflow).
However, it won't let me set up projects that share the same language pair from the drop-down, even if the project names are different (e.g. Project_fr-fr, Project_fr-ca).
This is a blocker because, for example, the drop-down only has English>French, while I have projects with fr-fr and fr-ca as target.
Any workaround suggestions welcome.
Thanks,
Colin
Language pair must be unique under the same workspace to know which custom model to use during the translation time. When you create Project_fr-ca, add label to add uniqueness. So, fr-fr endpoint (category id) would look like -, and fr-ca would be --.
-ME

PowerApp Canvas App for survey/questionanire

I need to build a PowerApp which presents a daily list of tasks to a user such as number of surveys to complete; within which postcode area etc.
They then want to complete a questionnaire; and store submissions in the PowerApps own Dataverse.
My thoughts are;
Ideally i would want to hook up Microsoft Forms (standard not Pro) so the PowerApp could either link to the form and pre-populate a unique ID or similar? they complete the form; and a Logic App would process into the DataVerse by unique ID. However not sure this is possible?
Other option is i design the Canvas App to complete the survey (similar to the Employee Engagement survey template) - but likely will have 30/40 questions - this would obviously have a direct link to the Dataverse so no Logic App required
Other options?
Thanks in advance
Rich
Stay away from Microsoft Forms for a 30-40 question survey. The conditional logic, error handling, input validation, etc are not robust enough. You'd likely get too much free text to produce any meaningful reports from.
Caveat being: Do external users (outside your Active Directory) need to access the survey?
If so, then Forms is likely the only way to go (unless you want to somehow manage PowerApps licenses for external users).
PowerApps will suffice.

How to generate sequential numbers on a web page?

Most of our staff work remotely in different countries of the world.
Often several staff work (on different aspects) of the same case.
At the moment the person who initiates the cases has to email the office manager who has to inssue a case number which then has to be shared with different staff members to make sure they use the same Case number in their forms and correspondence.
I was wondering whether it would be possible to:
Have a page on our website (accesible to our staff only)
Where the person initating a case goes to
The staff member is asked to enter his initials (eg DH or RD)
Then automatically a code is generated (RD001, DH001, etc.), it will be helpful for other purposes if the number is always 5 characters long (e.g. RD001, RD025, RD234, etc...).
These numbers need to be sequential (so if RD got the number RD001 1 hr ago, or 1 day ago, he needs to get RD002 the next time he requests a number), so the page needs to remember the last number that was issued for that staff member (they need to be sequential per staff member).
That number is then emailed to the relevant staff members who need to be aware that this number has been issued
Is that possible?
Sure it's possible, but what you are asking is actually a complete solution development. You've to hire a developer, who will create a system with authentication AND authorization, cases management (new case, details of the case, etc...) and so on.
But overall, it's a trivial job : )
EDIT: If your question is exclusively considering only HTML, then I really don't think this is possible, since your "number" should be generated and accessed from anywhere. Then, you have to make it globally accessible.
Also, it's really important that only your staff, and only the ones with rights to do that, could access and/or generate new numbers, hence the authorization/authentication need.
EDIT 2: Another possibility is search for a already made solution. I believe that should exist even online services with your requirements, like some online CRM or something like that.

Can I make a customer self-service product selection tool for the web/AIR with just Flash/Actionscript 3?

Can I make a customer self-service product selection tool for the web/AIR with just Flash/Actionscript 3 without having to use a separate database like SQLite?
Essentially, after selecting a general category, the client drags and drops the tag words relevant to their needs into an adjacent box and a list of products that correspond to those tags, from greatest to least, appears in the box next that.
I know that database driven apps are really on the rise but I am not clear if this situation really warrants it as I am just starting to learn (Lynda.com) and am coming from more of a content/design mentality.
Thank you and pardon my noobness.
A pure ActionScript 3 tool would work fine, but no matter which way you slice it you will have to store somehow which products map to which tags. Whether you do this via a database, a XML file or just compile it into your application will depend many things including:
How many products you have;
Will the application required an Internet connection;
How often will the database need to update.
and so on. Note also, that you will only be able to have a local SQLite database in AIR. When running in a web browser that API is not available (for Flash apps, anyway).

US and UK based site how to handle

We have 2 sets of prices, $ and £'s.
How best can I handle this.
Should I have a folder with the US site in so when users click on the US flag they go to mydomain.com/us and then navigate from there.
Or is there something simpler I can do?
The HTML site passes users over to our client system when ordering so currency conversion etc isnt needed. Just want advice on how to handle displaying a site in dollars and pounds.
If you have a country field on your user's table you could use this value to determine what symbol and prices to show.
If you are trying to keep it really simple without any server-side page generation use a bit of JavaScript. Pick a default currency and allow the user to click US or UK to switch to the other one. Javascript can be used to set a cookie so that when the user revisits the website, or views other pages, you can automatically set the preferred currency.
There are a few different ways to perform the conversion, and it probably depends most on how you do the conversion yourself. If you are just going by a current exchange rate store the prices in one currency for each item in a table and then have it apply the exchange rate as part of your conversion function.