Skip to main content

Home/ Microsoft SharePoint Tips & Tricks/ Group items tagged blog

Rss Feed Group items tagged

trimantra

Create List for multilingual site in SharePoint 2013 | Trimantra Blog - 0 views

  •  
    In our previous blog we have seen that how to create site column, content type for multilingual site. Now we will create custom list for all multilingual site with different name on feature activation.   try { using (SPSite site = new SPSite(RootSiteUrl)) { SPWebCollection allWebs = site.AllWebs; foreach (SPWeb…
  •  
    In our previous blog we have seen that how to create site column, content type for multilingual site. Now we will create custom list for all multilingual site with different name on feature activation.   try { using (SPSite site = new SPSite(RootSiteUrl)) { SPWebCollection allWebs = site.AllWebs; foreach (SPWeb…
anonymous

Home - Blogs - 0 views

  •  
    A collection of blogs on SharePoint
  •  
    A collection of blogs on SharePoint
trimantra

Exploring "X-Frame- Options" in IFrame for web-based application | Trimantra ... - 0 views

  •  
    In our daily life as a web developer we generally use lots of HTML tags in our website. From H1 tag to FORM tag, each tag has their own functionality and has some limitations. In this blog we specifically focus on IFRAME tag and its Do's and Don'ts. To know…
  •  
    In our daily life as a web developer we generally use lots of HTML tags in our website. From H1 tag to FORM tag, each tag has their own functionality and has some limitations. In this blog we specifically focus on IFRAME tag and its Do's and Don'ts. To know…
trimantra

The site template requires that the Feature - 0 views

  •  
    Most of the time we face error, when we try to create a SharePoint site using site template or web template. The error says like this "The site template requires that the Feature {GUID} be activated in the site collection"How will you know the name of the feature? - See more at: http://blog.trimantra.com/the-site-template-requires-that-the-feature
  •  
    Most of the time we face error, when we try to create a SharePoint site using site template or web template. The error says like this "The site template requires that the Feature {GUID} be activated in the site collection"How will you know the name of the feature? - See more at: http://blog.trimantra.com/the-site-template-requires-that-the-feature
trimantra

Working with SharePoint Search with Form Based Authentication | Trimantra Blog - 0 views

  •  
    When you configure form based authentication sometime is is need that  you disable Integrated Windows Authentication. By doing so search does not work as per expectation and you may face error. If you check in crawl log you will saw following notification error message. Error: Access is denied.
  •  
    When you configure form based authentication sometime is is need that  you disable Integrated Windows Authentication. By doing so search does not work as per expectation and you may face error. If you check in crawl log you will saw following notification error message. Error: Access is denied.
trimantra

SharePoint Error: This page allows a limit of 200 controls, and that limit has been exc... - 0 views

  •  
    I have created a custom page layout through visual studio 2013 on which there are a large number of controls are registered. The page that I had created through the page layout on that page I faced this max control limit issue. Generally , when working with a SharePoint master page, page layout, forms we might will face this type of issue. The problem was we have a large number of controls registered. The limit is set in the web.config file. By Default controls limit is set by 200. To resolve this issue open the web.config file, located in a virtual directory in c drive. Find the safe control block as shown below and increase the "MaxControls" limit and do IISRESET.
  •  
    I have created a custom page layout through visual studio 2013 on which there are a large number of controls are registered. The page that I had created through the page layout on that page I faced this max control limit issue. Generally , when working with a SharePoint master page, page layout, forms we might will face this type of issue. The problem was we have a large number of controls registered. The limit is set in the web.config file. By Default controls limit is set by 200. To resolve this issue open the web.config file, located in a virtual directory in c drive. Find the safe control block as shown below and increase the "MaxControls" limit and do IISRESET.
trimantra

Hiding SharePoint Application page (_Layouts Pages ) For Public Facing Site | Trimantra... - 0 views

  •  
    For publishing site it is recommended to hide "_layouts" pages from crawling by search engines. When you create SharePoint public facing site using "publishing site" template it activates the feature "ViewFormPagesLockDown". This feature prevents users from opening any of pages from &_layouts folder.
  •  
    For publishing site it is recommended to hide "_layouts" pages from crawling by search engines. When you create SharePoint public facing site using "publishing site" template it activates the feature "ViewFormPagesLockDown". This feature prevents users from opening any of pages from &_layouts folder.
trimantra

Create Site Column, Content Type for multilingual site in SharePoint 2013 | Trimantra Blog - 0 views

  •  
    To create site column, content type and page layout for multilingual site first we have add resource file in our SharePoint project. The basic mechanism of localizing a SharePoint 2013 feature is same as we have in SharePoint 2010 and in Moss 2007. Resource File To deploy resource file to…
  •  
    To create site column, content type and page layout for multilingual site first we have add resource file in our SharePoint project. The basic mechanism of localizing a SharePoint 2013 feature is same as we have in SharePoint 2010 and in Moss 2007. Resource File To deploy resource file to…
trimantra

Get Sharepoint Term's Custom Local Property values (Client Object Model) | Trimantra Blog - 0 views

  •  
    We can get values of Custom local properties of Term using Client Object Model. Register following files on your page: <SharePoint:ScriptLink ID="spPage" Name="sp.js" LoadAfterUI="true" Localizable="false" runat="server" /> <script type="text/javascript" src="../../../_layouts/15/SP.Taxonomy.js"></script>   Js code to get Custom Local Property values: $(document).ready(function () { SP.SOD.executeOrDelayUntilScriptLoaded(loadAllTerms, 'SP.Taxonomy.js'); }); //loads all existing terms function…
  •  
    We can get values of Custom local properties of Term using Client Object Model. Register following files on your page: <SharePoint:ScriptLink ID="spPage" Name="sp.js" LoadAfterUI="true" Localizable="false" runat="server" /> <script type="text/javascript" src="../../../_layouts/15/SP.Taxonomy.js"></script>   Js code to get Custom Local Property values: $(document).ready(function () { SP.SOD.executeOrDelayUntilScriptLoaded(loadAllTerms, 'SP.Taxonomy.js'); }); //loads all existing terms function…
trimantra

Get Sharepoint Term's Custom Local Property values (Server side) | Trimantra Blog - 0 views

  •  
    We can get values of Custom local properties using server side code. There is no direct way to get custom local from terms. For that we need to do manual coding which is as follow:   /// Get Custom Local Property values of particular term. private void GetCustomLocalPropertyValues(Term term) {…
  •  
    We can get values of Custom local properties using server side code. There is no direct way to get custom local from terms. For that we need to do manual coding which is as follow:   /// Get Custom Local Property values of particular term. private void GetCustomLocalPropertyValues(Term term) {…
trimantra

SharePoint site migration from 2007(MOSS) to 2010 | Trimantra Blog - 0 views

  •  
    To migrate site we are using Database attach method. Configurations and setting:- Here AD of both server is same. If one (normal) user from AD is able to login in 2007 server and not able to login in 2010 then you need to set up user profile for 2010 sever.
  •  
    To migrate site we are using Database attach method. Configurations and setting:- Here AD of both server is same. If one (normal) user from AD is able to login in 2007 server and not able to login in 2010 then you need to set up user profile for 2010 sever.
trimantra

Url Rewriting In SharePoint 2010 | Trimantra Blog - 0 views

  •  
    Many times there is requirement for SharePoint 2010 public facing site to use short url. Like http://example.com/BussinessBanking instead of http://example.com/Pages/BussinessBanking.aspx URL Rewrite is a URLs management component for IIS7. Although it's called URL Rewrite but it allows you to create and manage both URL rewrites and redirects.
  •  
    Many times there is requirement for SharePoint 2010 public facing site to use short url. Like http://example.com/BussinessBanking instead of http://example.com/Pages/BussinessBanking.aspx URL Rewrite is a URLs management component for IIS7. Although it's called URL Rewrite but it allows you to create and manage both URL rewrites and redirects.
trimantra

Best practice for user permission to SharePoint site or list | Trimantra Blog - 0 views

  •  
    Generally we have two kind of scenario when we set-up a SharePoint site. One, public facing site and in other case site is used in intranet- enterprise wide. In later case if we do not want to use anonymous access we use authenticated users as "Domaindomain users" When we set-up access permission to site or list under a site, we need to consider following cases and use the best suitable one. If we do not set up the access permission properly then it will be a risk factor to the site
  •  
    Generally we have two kind of scenario when we set-up a SharePoint site. One, public facing site and in other case site is used in intranet- enterprise wide. In later case if we do not want to use anonymous access we use authenticated users as "Domaindomain users" When we set-up access permission to site or list under a site, we need to consider following cases and use the best suitable one. If we do not set up the access permission properly then it will be a risk factor to the site
trimantra

Problem in Datasheet View in Sharepoint 2010 | Trimantra Blog - 0 views

  •  
    I installed office 2010 on SharePoint server running with standard edition. When I wanted to open Datasheet view of a list it shows like this. A datasheet component compatible with Windows SharePoint Services is not installed. Your Web browser does not support ActiveX control. Support for ActiveX controls is disabled. To fix this problem I installed "2007 Office System Driver: Data Connectivity Components" from http://www.microsoft.com/downloads/en/details.aspx?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en and it works fine now
  •  
    I installed office 2010 on SharePoint server running with standard edition. When I wanted to open Datasheet view of a list it shows like this. A datasheet component compatible with Windows SharePoint Services is not installed. Your Web browser does not support ActiveX control. Support for ActiveX controls is disabled. To fix this problem I installed "2007 Office System Driver: Data Connectivity Components" from http://www.microsoft.com/downloads/en/details.aspx?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en and it works fine now
trimantra

Create a Custom config file for Codeigniter | Trimantra Blog - 0 views

  •  
    By default, CodeIgniter has one primary config file, located at "application/config/config.php" What if we want to have a custom configuration file? What if we want to create custom config array with desired name? Codeigniter allows a developer to create custom file but developer has to define values with $config array developer cannot define a custom variable or array inside this new file and use it.
  •  
    By default, CodeIgniter has one primary config file, located at "application/config/config.php" What if we want to have a custom configuration file? What if we want to create custom config array with desired name? Codeigniter allows a developer to create custom file but developer has to define values with $config array developer cannot define a custom variable or array inside this new file and use it.
trimantra

Error (The method &quot;GetItems&quot; of the type &quot;List&quot; with id is blocked ... - 0 views

  •  
    We might have seen this error several time. (The method "GetItems" of the type "List" with id is blocked by the administrator on the server )Here is my scenario. We had launched a public facing website built in SharePoint 2010. Basically this error occurs when site has anonymous access and where Client Object Model is used for accessing list on the site.
trimantra

Hiding SharePoint Application page (_Layouts Pages ) For Public Facing Site - 0 views

  •  
    For publishing site it is recommended to hide "_layouts" pages from crawling by search engines. When you create SharePoint public facing site using "publishing site" template it activates the feature "ViewFormPagesLockDown".
  •  
    For publishing site it is recommended to hide "_layouts" pages from crawling by search engines. When you create SharePoint public facing site using "publishing site" template it activates the feature "ViewFormPagesLockDown".
trimantra

SharePoint site and mobile view access - 0 views

  •  
    For a SharePoint public facing website when anonymous users tried to access the site through mobile devices, users were getting authentication prompts. The public facing site was created based on "Team site" Template. It has been observed that users were being redirected to a layouts page at /_layouts/mobile/mblwp.aspx. It seemed to be this page that was returning a 401 error and prompting for authentication. By deactivating "ViewFormPagesLockDown" feature site open up in mobile view. Disable-SPFeature -Identity "ViewFormPagesLockDown" -URL "your site url" Once this command is executed, re-apply anonymous setting again and now site accessible through mobile device.
  •  
    For a SharePoint public facing website when anonymous users tried to access the site through mobile devices, users were getting authentication prompts. The public facing site was created based on "Team site" Template. It has been observed that users were being redirected to a layouts page at /_layouts/mobile/mblwp.aspx. It seemed to be this page that was returning a 401 error and prompting for authentication. By deactivating "ViewFormPagesLockDown" feature site open up in mobile view. Disable-SPFeature -Identity "ViewFormPagesLockDown" -URL "your site url" Once this command is executed, re-apply anonymous setting again and now site accessible through mobile device.
1 - 20 of 52 Next › Last »
Showing 20 items per page