Posts

Showing posts with the label MS SharePoint

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/...

Connect your personal device to "Cloud"

"Cloud" is a popular word in our daily life. It means the new computer architecture - using service provider's computer equipment instead of your own. It allows a person or a business to forget about technical details like whether a hard drive is big enough and puts that concern on another party. Microsoft, Apple, Google, Amazon Web service and others provide such software applications and hosting space for end users to access those applications through a web browser or a light-weight desktop or mobile app. For example, Microsoft provides Office 365, combining the latest versions of the Office applications (Word, Excel, Outlook, etc) with additional features such as SkyDrive storage and Skype world minutes for family and business to access their common Office functions and emails stored on the remote servers. It helps the family to share documents, photos and emails in distance areas.The Microsoft SharePoint Online helps business to build their collaborati...

Update the SharePoint Web.config file efficiently in Web hosting environment

[ Background Information ] The Internet SharePoint Web application has staging and production Web hosting environment.The external users only can access to staging Web site folders via FTP / FTPS, and so it's inconvenienced to update the production Web.config file frequently for them. [Solution] In this case, I designed a ASP.NET Web Application which provides a interface to merge the changes to production Web.config file. Firstly,  external developers login to the Web application with their windows authentication credentials.  The Web application will list Web.config files in staging and production environment for the SharePoint Web application, and then developer chooses which web.config file to be merged and also uploads the XML file which contains the changed sections of the Web.config file. Once submit the change, the Web application will backup the existing Web.config file, and then apply the changes. If the merged is successful, the Web application will send the...

Best practices to Setup and Configure the SharePoint 2007 / 2010 Internet Web Application

I find some key points to setup the MOSS Internet Web Applications properly and safely in Web hosting applications environment. 1. When created the MOSS Web applications using "home" folder as the Web site folder. It contains MOSS default sub folders like "bin" and Web.config file.  2. Turn on anonymous access in entire site contents except the backend area such as "_layouts" pages using Windows authentication or Form authentication. Using IIS 7 URL rewrite rules to block the public access to "_layouts" page as mentioned in my last post "Using IIS 7 URL rewrite rules to block the public access to SharePoint "_layouts" pages". 3. Turn on anonymous access in IIS 7 site. 4. Remove any custom (non-system) users' access in local Web site folders. 5. Created file folders "styles" and "controls" outside Web site "home" folder and also create virtual folders "styles" and "cont...

Using IIS 7 URL rewrite rules to block the public "access" to SharePoint "_layouts" pages

When you use MS SharePoint 2007 / 2010 site as a Internet public facing site, it's smart and safe to block the anonymous access to back-end "_layouts" pages. It's easy to use IIS 7 URL rewrite rules to perform the access blocking. Below is the sample rule.      <rule name="_layouts" stopProcessing="true">           <match url="^_layouts($|/.*)" />           <conditions logicalGrouping="MatchAny">                <add input="{HTTP_HOST}" pattern="^pub\.stag\.moevenpick-icecream\.com$" />                <add input="{HTTP_HOST}" pattern="^pub\.prod\.moevenpick-icecream\.com$" />                 <add input="{HTTP_HOST}" pattern="^www\.moevenpick...