Posts

Overwrite sp.ui.listsearchbox.js to fix the SharePoint 2013 WAG issue

Image
I conducted a WAG testing in SharePoint 2013 site using Google Chrome extension http://wave.webaim.org/extension/.  The SharePoint site has some WAG issues and most of them are related to missing "Alt" attribute in the out of box image icon which created by SharePoint itself. Most of them can be resolved by using jQuery to update the icon's HTML code directly. But I found one issue is exceptional that the inline search box icon within the List view document library WebPart can't be fixed by updating its HTML code directly.  Bellow is the screenshot and icon's HTML code. After I research the SharePoint Out Of box JavaScript, and I found out the "sp.ui.listsearchbox.js" composing the HTML code for the List view search box.  "   $1C_3: function(c) {         var a = "<div id='{0}' class='ms-InlineSearch-Outline-Baseline ms-InlineSearch-Outline-Empty'><input id='{1}' title='{2}' class=...

SharePoint 2013 Troubleshooting - "Unable to create the folder in SharePoint Document Library"

Image
Recently I received the error message “Unable to create the folder in SharePoint Portal” when try to create a folder in document library in a SharePoint 2013 site which setup by others. I found out below error message in “Windows Application Log” Event viewer when every time fails to create a folder: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/62723292 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'http://xxxxx/_vti_bin/client.svc'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. . ---> S...

Silicon Valley Success Goes to the Fastest, Not the First

LINKEDIN CO-FOUNDER REID Hoffman says the secret of Silicon Valley success is not the startup. It’s the scale-up. See details here . I fully understand the meaning of above sentence because not only I am working on my startup project, but also saw other hackers building software in Hack events or people spend few years still working on a draft version of their great idea, etc. It reminds me that roll out a product and team as soon as possible is the vital of a startup.  

Start with Google Apps for Work - more efficiently in your familiar tool

Google Apps   for Work is a cloud-based productivity suite that helps communicate, collaborate and get things done from anywhere and on any device. It's simple to set up, use and manage. it's really helped my work more quickly and efficiently. You can watch the video here . Highlight following features: Familiar Gmail interface with Custom email addresses, like name@yourcompany.com to promote your business, and help your team look professional and build your brand. The powerful search and integrated calendars help you get more done.  Work from anywhere. Every team member gets 30GB of space for storing all their files in Google Drive and accessing them from your phone, laptop or tablet. Unlimited storage for accounts with at least five users on advanced plan ($10  per user  per month). Work on Doc, Sheets, Slides, Create surveys and forms, and website creation.  Save money and time on travel. Connect from anywhere, anytime, by hosting video ...

Unable to change and celar field value in Siteccore CMS - a known bug

I have been worked on a multi-language Sitecore 8 website project recently. I setup some fields to "Shared" version but changed back to "Non-shared" fields after few days. I needed to change the value of filed and found unable to change and clear the value. I search in google and found out a Blog post " Not able to change field values after installing a package with the template having it's fields changed. " and it explains the similar issue which I was facing,  But I didn't contact Sitecore support as the post suggests, and just tick the "Shared" version of the field, and there is data lost warning prompt me, and the field value is cleared after I choose "OK" to continue. I can change the field value successfully afterwards! I just changed those fields back to "Non-shared" again. That's it! 

Using Azure service to delivery message to mobile and Windows Store Apps

Image
Azure Notification Hubs provide the feature to send push notifications to a Mobile App including iOS application, Android application, Windows Store or Windows Phone 8 application. First of all, you need to create a notification hub in Azure portal . Secondly, you need to build a mobile application to connect to the notification hub and also receive message from it. You can send notifications by using Notification Hubs from any backend via the REST interface . This scenario can be used in different cases such as Error message notification, Timesheet reminder, etc. Below is a screenshot of a sample notification in Windows Phone, and it would be extended to Windows store desktop App as well. The detail tutorial is in here . In addition, you can use Azure Mobile service to send notification when end user add / update /delete data in Azure database.