Posts

Resolve "System.Reflection.MissingMetadataException" when running UWP app in release mode

Image
I had been seen an issue "System.Reflection.MissingMetadataException" when running a UWP app in release mode. It was failure at the code: public static MobileServiceClient MobileService = new MobileServiceClient(" "); I turn on the "Compile with .NET Native tool chain" option in property of project settings as below screen shot, and then run the app in Debug mode. This time it throws more details of error "'Microsoft.WindowsAzure.MobileServices.PlatformInformation' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859". I went to that link of page and also search it in google.  Now knew it was caused by the  ".NET Native does not presently have a just-in-time compiler to compile the pieces that are missing, everything that can be accessed at runtime needs to be known at the time of compilation". The reflection of mobile service can not be determined statically at the tim...

Some tipts to Embeded PowerBI report in a Azure Web App

I follow the sample " https://github.com/guyinacube/PowerBI-Developer-Samples " - "Apps Owns Data" to allow external users to access internal PowerBI data. I got error 'Unauthorized' when try to access it by the given report group Id. I checked with the BI guys that the workspace in PowerBI is created as public or private mode. It should be public mode. In addition, you need to grant relevant permissions to the app registered in the Azure AD. Do this with a AZure Admin account. Refer to below lessons. https://community.powerbi.com/t5/Developer/Power-BI-Embedded-authentication-error/td-p/197670 https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-scenarios

Fix the horizontal scroll bar not working in "Responsible Table" with Bootstrap 3

I was using "table-responsive" class from Bootstrap 3 recently and got the issue that horizontal scroll bar not moving when drag it. I found out a solution which add style " -ms-overflow-style:auto !important;" to the "table-responsive" class as below. .table-responsive { -ms-overflow-style:auto !important; } The above issue was resolved.

Change "Send From" email account in "Send approval email Action" in MS Flow

Image
Currently "Send approval email Action" doesn't provides "From" email address option to change the send from email account in MS Flow. However, you can change it by following steps.  Firstly, you add the email account which used as "Send From" in your work flow's "Owner" section. It's located on the right bottom of the flow setting's page as below screen shot. Secondly, login to "MS Flow" with above email account, and then click on the work flow, and then click on "Edit" button. Once you open the flow design page, click on the "Send approval email Action" and then click on the "..." on the header of the action like below sample screen shot. Pick up the email account under "My connections". save the changes. Now you should see the work flow email send from the email account setup as above.

Turn Your New Year's Resolution Into Action - Achieve Your Goals

Image
" New year, New me ".   It's time to start fresh with resolutions and figure out ways to improve now. What will you want to learn this year? What dreams do you do you want to make reality? While there's easy to set goals, it’s hard to stick to your commitments. "Research shows that 80% of people give up on their New Year’s resolution by the 2nd week of February!" wrote by business and life coach Tony Robbins in an Instagram post. However, 10% said they never break their New Year’s resolutions. How come? Stop struggling to keep resolutions! This simple approach helps you really reach your resolutions and goals this year. Behavioral psychologist tells us that you must first develop the habit that will guide you to the right actions. There are three things we must do to create a new habit: Pick a small action. "Get more exercise" is not small. "Become a solution architecture" is not small. This is a big reason why New Year's reso...

Force to open a SharePoint Online Word document using Word desktop application directly from Flow

Image
I need to open the word document which saved in a SharePoint document library using Word desktop application not Word Online when click on the link of the document in Flow's notification email. By default, the link of the document was opened in the Word Online in browser. I found out a way to use the "ms-word:ofe|u|" before the file URL, e.g."ms-word:ofe|u|https://docUrl", and now I can open the document in Word application directly. Note: The "Link to item" in Flow contains Guid after the file URL, and you need to remove it from the link URL. I am using the function "concat('ms-word:ofe|u|',substring(triggerBody()?['{Link}'],0,int(indexOf(triggerBody()?['{Link}'],'.docx'))),'.docx') " in a variable action and so I can use it in the Flow anywhere. You can open file using Excel or PowerPoint too, for more "Office URI Schemes" please see https://msdn.microsoft.com/en-us/library/office/...