Browse by Tags
All Tags »
SharePoint 2010 (
RSS)
Problem: The problem is caused by the fact that IIS supports specifying multiple IIS bindings per site (which results in multiple base addresses per scheme, in our case HTTP), but a WCF service hosted under a site allows binding to only one base address per scheme. Multiple addresses example (in our case two): Solution: Create a custom service factory to intercept and remove the additional unwanted base addresses that IIS was providing. A) Add the custom service factory to your Custom.svc file <...
Here’s a quick tip for adding the “Welcome” text before name in an easy and fast way. Using JQuery code you insert the "Welcome" text in the SearchTopLine class. Example: $( ".SearchTopLine span a" ).prepend( "Welcome " ); See you next time.
When trying to use FQL (Fast Query Language) query keyword with double quotes, for example: body: string( “” hello world ”” , mode=”and”) You’ll get “Your query is malformed.Please rephrase your query” Error. Since FQL has a problem with double quotes, the trick is to use backslash (\) in front of the quotes, for example: body: string( “\” hello world \ ”” , mode=”and”) Hope this trick was helpful for you as it was for me.
The onet.xml file is basically divided into two parts, first is the "SiteFeatures" element and the second element called "WebFeatures". The "SiteFeatures" Section that holds the site features starts activating all the features only when creating a site collection. The "WebFeatures" Section that holds the web features starts activating all the web scoped features only when creating a site. Scenario : you created a custom web template, deployed the solution and...
Great news for Web developers, With ASP.NET and Web Tools 2012.2 RC installed, you now have a great and easy tool for converting your JSON objects into C# or VB.NET classes. This feature uses Newtonsoft JSON parser to parse JSON text from clipboard. Once Newtonsoft JSON parser validates the clipboard data as valid JSON, then it will be converted into C# or VB.NET class depending on the selected file type. Here’s a simple example: A) Copy to clipboard your JSON object. { "link" : "http...
A great way to search something on your SharePoint 2013 site or any older version of SharePoint without the need of browsing to the site and start writing your search query cause Google Custom Search is doing it for you. Steps for Adding a Custom Search Engine A) Right click mouse on the address bar and choose “Edit Search Engine” B) You will need to fill 3 text boxes. Add a new search engine – the name of the search engine, by default, Google Chrome uses the site’s domain name Keyword – use...
When you want to bind an event handler to the "keypress" JavaScript event, or trigger that event on an element, you can achieve this using JQuery handler like .keypress( handler(eventObject) ) . For example, binding "keypress" event to a text box on your custom control : $( "#input" ).keypress( function ( event ) { var code = ( event .keyCode ? event .keyCode : event .which); if (code == 13) //Enter keycode // your logic here... } }); As you can see, the task...
The problem is in opening an Office document which is saved in SharePoint 2010: When a user has a "read" permission only to a specific document in a document library, but do not have any permissions in the document library level nor the site level. When he is accessing the document, he receives the "Download File" message with "Open" / "Save" / "Cancel" options. When clicking "Open", he is prompted with a user & password message. When...
The Development Stage In my last post How To Create A Windows 8 App For SharePoint Part 1 – The Planning Stage we discussed about the reason I chose Windows 8 HTML5 as my development environment and why it’s the best and the most intuitive environment for SharePoint developers who plan to start creating Win8 apps. Today we will focus on developing our Win8 app and integrate it with SharePoint Online 2013. The app will serve as a search and use The new Search REST API to pull data from SharePoint...
The Planning Stage There’s a big buzz going on around Windows 8 app development, In my earlier post “ Create a Metro Live Tile using MetroJS, JsRender and the new REST API ” I showed how to create a metro live tile using html and JavaScript and today we continue exploring this subject area and create Windows 8 app that interacts with SharePoint. We will focus on Windows 8 HTML5 app, There are 4 main reasons why I chose to use HTML5 development in this example. A) SharePoint developers will...
Hi guys, I’ll try to explain couple of common mistakes/errors made when trying to save a site as site template. 1) Save publishing site as site template. The Problem Common mistake is made when trying to save publishing site as site template , There is a good reason why this publishing template is not supported and does not include the ‘Save as Template’ link, There is a workaround to enable this feature as explained in this post . It maybe a quick solution but in the long run this solution...
Hi guys, Recently we had a problem when our end users got ‘The "BrowserFormWebPart" Web Part appears to be causing a problem’ error when trying to open InfoPath form. The problem seemed to be related to some permission issues but we haven't found any solution. After couple attempts we found a workaround to this problem. All you need to do is to Publish the form again preferably in a new library. This should fix the problem (at least it worked for us ) It seems that there...
Hi guys, In the world of web 2.0 we need to make our application (in our case SharePoint) more collaborative, interactive and responsive. that’s why I created a nice example that uses the Long Polling pattern to get us the real-time web applications experience like Gmail or Facebook has. In our example we create a simple Like button that updates our custom list number filed and increases it every time we click our button. below we create a label div that shows in real-time the number of likes. (in...
Hi guys, Finally we have a new CAML Designer with a new modern style, and it works great!!!. Besides the great look and feel you also have couple of new features included. for example when you generate the CAML Xml you can also generate the code that comes with it like server OM, client OM or web service. You can download the tool from this site . thats all folks
Hi guys, Recently my client needed to remove items from a specific content source. The problem was that neither the standard SharePoint Search nor FS4SP had any support for this scenario ( UI or any object api ) even though it seems like a reasonable task. The only thing the product offers us to deal with this problem is , Index Reset which will clear all the searchable items in your index. a nd in case of FS4SP we will need to call Clear-FASTSearchContentCollection using PowerShell. Of course this...
More Posts
Next page »