User Emulation for app testing in Dynamics 365 - testing

In the Service Now platform there is a feature that emulates users. Is there a one in Dynamics 365 ? As of now, I am opening multiple tabs in different browsers to test user apps/forms/solutions.

No out of the box feature for this.
Couple of ideas;
Use Firefox in conjunction with Multi-Account Containers. This allows you to effectively have multiple active sessions for different users open within a single browser. This might be easier to manage.
Use a single user, but write code to automate the switching of security roles. This way you can rapidly switch between different user roles.

Unfortunately, there is no way to do User experience emulation of different persona by OOB or with community tools. Only way is different browser window with different credentials (In-cognito or Run as different user).
Only simulator available is in Form editor - Preview option, to see how the Form looks-like with Tab/Section/Fields in Create/Update/Read-Only mode for Desktop Client.
With some Chrome Addins, we can impersonate a different user only on Unified Interface (UCI) not on web UI. Read more
Essentially, we just need to add the MSCRMCallerID header to every API request.  One way to do this is using the "ModHeader" extension for Google Chrome.  Once you have it installed, create a new profile to add the header to all requests for your environment.  It should look something like this...the MSCRMCallerID is the GUID of the user you want to impersonate.

Related

What does it mean that a website supports xAPI?

I have a normal website where user can login and logout, I want to be able to launch xAPI content from this website supposing that the xAPI courses are stored on some cloud service and created by an authoring tool that supports xAPI like storyline.
I've read that launching should work basically by providing the right launch URL which is made of the link to the course besides endpoint from the LRS and some other informations like activity_id.
since launching works only by providing this url, what is the purpose of making the platform supports xAPI and what does that mean to the platform? is it the connection between the platform and the LRS? and how can I achieve that?
another thing I would like to know, who is usually responsible for making the send statement functions that send statements to the LRS, the instructional designer during creating the content or the web developper? because I was reading here in tincan php library and seems like he is making those statements inside the app code.

Is the "switch user" dropdown in Azure, Office, and other products available for integration to AAD/B2C web apps?

I am interested in including the dropdown-account-selection feature that's available in Azure and Office in my personal ASP.NET (core/Blazor WebAssembly) app.
This often occurs when more than one AAD account is being used, or when more than one directory is being accessed at a time.
Ideally I would have a more compact view (like Google) and one that switches as quickly too
Currently, it is not possible .Please raise UserVoice or vote for similar voice

Common Session for Windows Store Application

Our Team is trying to build multiple Windows 8 Store Apps for an enterprise.
How do we maintain a common session for all apps(where we store data which need to be shared)?
How do we enable direct interaction between the apps developed i.e. sharing objects or string(JSON) among the apps?
There is not built in way to do this. Realistically you probably have three options to share data between applications.
The first is to use the cloud / web services. This makes the most sense as you'd have full control about what is shared, authentication etc. Using libraries such as SignalR could let you add real time functionality between the applications as well as multiple users.
The Share contract, by using custom data formats you could enable the apps to share specialised data between each of them. This can make sense if the user has a set of data they want to send to another application to enable a quick piece of workflow as the Share target is only partially launched. This also is limited in that it's enabled by user action.
Custom protocol handlers, by giving each app it's only protocol my-custom-app:///some-action?param1=value etc then you can pass data between apps, note this launches the app in question when you launch that uri. This would be best for more longer running scenarios.
I'd suggest a combination of all three depending on the user action. Cloud services to store the data for the user and then a mixture of Share and Protocol to enable to the user to smartly move the apps seamlessly.
Here exactly the same question as yours. In short: there is no such ability. Sometimes I think that it will be easier to share data via Internet that in device.

Un-Share Session or Cookies of webbrowser control in VB.net

I have more than one webbrowser controls on my program, and it seams they all share session cookies.
What i want is that they DONT share the session cookies.
I have different webbrowser controls that opens the same website with different accounts, or open the same web-page that store different data in session.
Anyone has any idea?
Note : this question already posted by #Haroldis,Link old quetion Hope now he found the solution already because I having this problem also.
As mentioned in the answer you linked, this is not possible with the standard .net web browser control.
IF you genuinely need to display the pages in browsers to the user (rather than just send or recieve data, in which case webrequests are your answer) then you have a few options via third party software.
1 would be WaTin, which allows you to launch and control separate browser instances, with the option of not sharing cookies.
Another option would be awesomium, which has a .net wrapper and can run independent instances since v1.7, though i have not tested it a great deal.

Can you create Google Forms from Google Docs in an application?

I am thinking about app that will use google form and I need to create forms from that app. Is there a way how can I create form in google docs without using website but through some api or some other way?
I can offer an idea for a solution using Google App Script.
Since the beginning of 2013 you can create new forms using the App Script Forms Service API quite easily.
var form = FormApp.create(title)
.setDescription(description)
.setConfirmationMessage('Thanks for responding!')
;
The problem now is how to get that App Script running from your non App Script code.
You can use App Script to create a Web App that reacts to HTTP GET requests.
So putting it together, you may be able to create an App Script Web App that reacts to a GET request and when it gets the right URL parameters, it creates the form.
(Nov 2020) Yes, it is possible to programmatically create Google Forms. You can do it with Google Apps Script using its Forms service. You can also extend the code to read in the contents from Google Docs (with Apps Script's Document service) and use it for the creation of Google Forms.
I created a Google Workspace (formerly G Suite) Add-on, which you can think of as a Google Docs extension, called GFormIt. Its original purpose was intended for teachers to write exams/quizzes, possibly with answers, in Google Docs, then automatically convert them to Google Forms to distribute to students who submit their answers into Google Sheets (the destination for Google Forms submissions).
Furthermore, if you (the teacher) provided answers to your test questions, GFormIt would also auto-submit your answers to the Sheet as if you were a student. If you do that, and use a tool like Flubaroo to grade the exam, you could designate your row in the Sheet as “the answer key.” You can learn more about how it works, including viewing a short video, at the GFormIt page linked above.
This Google Docs add-on, along with others for Google Docs, Sheets, Slides, Forms, etc., are all certified/validated by Google and available for free to anyone from the Google Workspace Marketplace. (However, your admins may have to grant permissions for you to try to install them to your corporate Workspace account.) If interested in building your own add-on, please see the developer documentation and perhaps some of my introductory videos to get started, the most relevant being the one linked to at the top of this answer.
Apps Script is a serverless Google technology, meaning you write your code (using JavaScript) in the browser, and it is hosted by & executed on Google servers. If you wanted to create your own web app (and hosted anywhere), you would have to wait for a Google Forms REST API which does not exist at the time of this writing. (If we ever launch one, you'll find its documentation at https://developers.google.com/forms along with the others like Sheets https://developers.google.com/sheets, Gmail https://developers.google.com/gmail, Drive https://developers.google.com/drive, etc.)
Earlier this year (Mar 2022) the new Google Forms Api graduated from Beta. It is more powerful that the previous versions and caters for two main use cases:
Automated form creation and editing: Enables automated form creation
and editing. Enables rapid form generation from large volume question
banks or other data backends.
Reaction to Form responses: The API also enables developers to build
automations for acting on incoming responses. Examples include
developing real-time dashboards or visualizations and triggering
business workflows based on response data.
We have used it to build an integration that Creates documents and slides each time a form is completed: www.portant.co/google-forms-to-docs and it works really well.
I think the other key use case looks like it would be a good fit for you and others looking for a solution like this.
Cheers, James
Sorry, the API doesn't support programmatically creating forms.