Monthly Archives: July 2014

the “Unable to get property ‘showModalDialog’ of undefined or null reference” error display because you are not calling the sp.ui.dialog.js Wrong Way:   Good Way:   Sample Calling:

From TechNet we can read “The object cache stores properties about items in SharePoint Server 2013. Items in this cache are used by the publishing feature when it renders web pages. The goals of the object cache are to reduce the load on the computer on which SQL Server is running, and to improve request latency and throughput. The object cache makes its queries as one of two out-of-box user accounts: the Portal Super User and the Portal Super Reader. These user accounts must be properly configured to ensure that the object cache works correctly. The Portal Super User account must be an account that has Full Control access to the web application. The Portal Super Reader account must be an account that has Full Read access to the web application.” The problem is that assigning accounts like SuperUser and SuperReader to your Web Applications is not enough, you need…

Read more

SharePoint 2013, like 2010 have Trimmed Controls in order to define display rules for Authentications Roles. In SharePoint 2013 we have the Suite Bar, you must hide it also as Trimmed like this Find the <body in Master Page and add the <style>   Add the Trimmed Control for before <div id=”s4-titlerow” for permissions PermissionsString=”AddAndCustomizePages”  

In SharePoint, the object “PlaceHolderPageTitle” is responsible to render the Title. So if you have a property to bind the text, you should be able to render like this: Property to include object titles In the Master Page   The Span that Renders the Place Holder is:     Using jQuery, you can change what ever you want, in this case the object Title. I suggest to use ExecuteOrDelayUntilScriptLoaded because in this case you are sure that the DOM is loaded, preventing conflicts between jQuery functions Change Title   Change if specific number of characters reached     Good Luck 😉

If you don’t want to create a site collection for a Community Site, this is your option: Activate Features over the Site Collection Activate Features over the Web Site   Good Luck 😉

Property Bags are very powerful, they can store information in an Hash Table in IIS at several levels Property Bags can be defined in the following levels: Farm (SPFarm class) Web application (SPWebApplication class) Site collection (SPSite class) Site (SPWeb class) List (SPList class) I wrote an Article for 2010 in here, take a look

Working with Taxonomy Fields that created in Visual Studio without OOTB, it’s not a peace of cake. You have to follow some rules: In a Feature Receiver, Scoped SITE use the bellow Override Then you have to activate your field  (Bind) to a specific GUID, if you not it become disabled “Grayed” Use class bellow “Taxonomy” For XML Declarative find here you may find other options also Good Luck 😉

Let’s see, a easy tag field is the “TaxKeyword”, the default for “Enterprise Keywords”. The advantage is that he is already at the Search Schema an Indexed, so you can use in all objects that you want, Page Layouts for Publishing Pages, Lists, whatever. How to do it in a SharePoint Feature Receiver? SCOPE: Web   How to add it to a Page Layout? ……

When working with custom branding in SharePoint 2013, sometimes it’s easy to make a mistake. For instance, you area changing a BackOffice Master Page and when you add a page, after you fill the Title the error appears the security validation for this page is invalid The common problem is you deleted the next Place Holder   Just add it back and it should be fine

This article intent to demonstrate how to automate Configuration and Installation in a DEV Environment The Source  Codeplex Tools for installing and configuring SharePoint 2013 Tools AutoSPInstaller v3 AutoSPInstallerGUI The secret is follow a sequence: Copy SharePoint Binaries, Service Pack’s and Language Packs to folder structure Configure your XML File with AutoSPInstallerGUI Configure Installation Configure Farm Create your Portal App Create MySites App Configure Service Applications Choose to stop the script after install binaries Copy SharePoint Binaries, Service Pack’s and Language Packs to folder structure     Use the correct language code, in my case folder “pt-pt” Configure your XML File with AutoSPInstallerGUI Download tools for a folder and open “AutoSPInstallerInput.xml” Configure Services Bellow is my script that will install and configure MMS UPS Search State Usage and Health Secure Store Subscription Service App Management Work Management Machine Transaction PDF MIME Type Configure Result Script Get here: http://wp.me/a4C9Xq-2e

10/13
RSS