Attach Debugger to Outlook Desktop 2016 Version - outlook

I have installed an add-in in my outlook 2016 using an XML file. After clicking on a plugin sidebar, its opens.
Now I want to debug the issue (by getting console logs and network logs) that why it is not proceeding to the next screen after loading. If it was working, it will load the configuration from an external endpoint and proceed to the next screen.
keeping in mind that I don't have the access to source code.
This plugin is working fine for the web and other desktop versions of outlook but not on outlook 2016.

First step is to determine the underlying browser used to execute your add-in in Outlook 2016. Here's the documentation to help you determine that:
https://learn.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins
If it is Internet Explorer, run C:\windows\system32\f12\IEChooser.exe, and just click on the slab that corresponds to your add-in's HTML page. Alternatively, you can follow the instructions here:
https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-tools-ie
If it is Microsoft Edge (EdgeHTML), install Edge DevTools Preview. Afterwards, open it, and then attach it to the target that corresponds to your add-in's HTML page. Alternatively, you can follow the instructions here: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-legacy
If it is Microsoft Edge (WebView2), simply right-click in the add-in's taskpane, and select Inspect. Alternatively, you can follow the instructions here: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-devtools-edge-chromium
In general, this is a good starting place for documentation on debugging your add-in: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-overview

Related

Clear visual studio debugger's saved connections in attach to process dialog

I need to clear some old entries saved for Connection target dropdown list in Attach to Process dialog.
Some remote servers have been decommissioned. But their names are still listed on the top of Connection target list.
When I start the Debug menu command "Attach to process", it takes awhile trying to connect to an old server that is not connectable.
Google search doesn't return the answer of where the list is saved.
Hopefully someone can provide the answer.
After quite some digging I've found the answer you might be after (if you still need it), the web page you'll need is at Microsoft Learn.
If you want to dive straight in have a look in the Tools Menu under Options and then find Cross Platform and Connection Manager:
I'm using Visual Studio 2022 17.4.3 (current version as of Jan 2023) just in case other versions have a different layout.

Add-in not available in shared mailbox

I was using an add-in with a shared mailbox.
After doing some work. I Can't be used now.
Details are described below.
Open a shared mailbox Using the "Open another mailbox" option setting.
Click Get Add-in to open the dialog screen.
Remove the add-in from the "admin-managed"
"Error AccessDenied" Is displayed when adding an add-in.
There are also problems with official add-ins(etc...My Templates )
Please tell me how to solve this problem.
Open Another Mailbox" scenario is not fully supported on Outlook Web Add-ins as of now. We are working on our document update to reflect this status. You can request for this support by creating an entry in our Microsoft 365 Developer Platform Ideas page

Dynamics CRM 2015 not updating JavaScript file properly

The problem:
After editing my JavaScript file in the CRM textediting program, the changes are not updated when I test it in CRM. I am making subtle changes to a drop-down, nothing that breaks anything.
I am using Firefox, and unable to test this in other browsers (at least for the time being).
What I did was:
Made subtle changes to my javaScript file in the texteditor in MS Dynamics CRM 2015.
Press Publish all adjustments.
Open a new window with CRM.
Go to a formula with the drop-down, open it and find that it has not been updated.
So I open the debugger (F12) and confirm this.
In the debugger I open the tool setting and check the box with "Deactivate cache (when tool is open)".
Hit F5 test again and it works! VOILA!
However if I shut the whole thing down (the browser) and open it up again, then CRM still loads the old JavaScript file, until I go to the debugger and do the whole thing again.
This is not acceptable, since CRM are suppose to load the updated JavaScript file as default.
Any help or advice is appreciated.
Thank you.
The answer to this question is: Remember to clear the cache.
One good way to test it, is by opening a browser with private browsing.

QTP 11.0 Doesn't Recognize IE 8

My QTP 11.0 was recognizing IE 8 .one week before.Suddenly it stop recognizing.
It showing everything as Winobject. I unchecked enable protected mode also and all possible solution available in Internet.
Please help me if there is any other solution to it.
Check to make sure you are still loading the Web add-in module during startup of QTP/UFT.
IF UFT isn't asking you to double check during startup, then go into Tools > Options > Startup Options and check the box for "Display Add-in Manager on startup". then click OK, and completely close and restart UFT. It should ask you to verify your Addins again. Doublecheck that it is loading "Web", then uncheck the Show on startup box, and click OK.
One other thing to check is to make sure the test itself is using the Web Add-in. Right click a test in the Solution Explorer, and select Settings. Ensure the Associated add-ins list includes a checkmark next to "Web".
Note that I'm using 11.53, so could be differences
Always remember to open IE or other applications AFTER you open UFT/QTP first...

Visual Basic Webbrowser control does not show all elements of a page

Using VS 2010 -- and later VS Community 2015 -- I've been trying to make a simple Windows client app that will cycle through a list of URLs and display them in the web browser control. Specifically, it's a list of my favorite online comic strips. However, whether it's in the VS 2010 environment or the VS Community 2015 environment, the web browser control does not display all of the elements on the page. Nor will they show if I run the executable outside the development environment.
For example, at this URL, which is the Zits comic website, most of the page shows, but not the comic strip itself. At another, it shows the strip but everything on the page beneath the strip is blank. Odd, though, is that the elements appear to be there, just not visible. Running the mouse over an anchor element, for example, changes the cursor to a hand, and clicking the invisible link works.
I've looked at the source code for the pages, the code shows the elements to be there. I can't see anything in the source that shows why it wouldn't be showing up.
As I said, it does the same thing for VS 2010 and VS 2015.
Can anyone see what I'm doing wrong?
Figured it out. It's a crappy way of having to do it, but it turns out the web browser defaults to IE7 mode, and as far as I can find, the only way to correct it is to add a registry key to set the emulation to IE11.
https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx
Seems like the web browser control, especially in VS 2015, would be a little more flexible than that. But it is what it is, and since this is for my own personal use, I don't have to worry about changing any registry keys in another user's machine.

Resources