Posts

Showing posts from April, 2014

How to add language localization to your info path web browser form 2010/2013

Image
Sometimes your form needs to be available in different languages. This solution provides you with an "easy" way to change the language of  drop down lists, buttons, labels and screen-tips depending on the selected language through a XML file and some rules. The following example shows how to to do all of this in 3 languages (English, Spanish and Basque) : The following steps will show you how to set up the drop down list that will change between the languages: C reate a XML file using the following format: <?xml version="1.0" encoding="UTF-8"?> <LocalSettings>     <Languages>         <Language Name="English" Code="ENG"/>         <Language Name="EspaƱol" Code="SPA"/>         <Language Name="Euskara" Code="EUS"/>         </Languages>     <Labels>           <Label Name="Personal Data">             <LocalL

Getting the group Name of the current user in Info path forms

Image
Sometimes, it is useful to get the group name of the current user in order to create rules based on that group, i.e: if we want to manage the permissions within the form through views depending on groups. The following example shows how to get the group name of the current user .  I have divided the steps in 4 main sections: Creating a web service connection :  New web service connection need to be created to obtain the group name thought the  GetGroupCollectionFormUser  service. Exporting the form:   The form needs to be exported as we will apply some changes in one of the exported files. Updating the XSD file : Edit the GetGroupCollectionFormUser1.xsd file. Creating rules to manage the permissions within the form : The form permissions will be managed through rules created in the Form Load. Users will see different form views depending on the groups they belong to. Creating a web service connection: Manage Data Connections -> Add -> Receive Data -> SOAP