AX 2012: Refresh form by Code


Refresh form by Code X++


     Add this code in form level

        #Task
        element.task(#taskF5);

AX 2012:get current client language

get current client language


                                            companyinfo::languageId().

Alternative to Google Chrome

Alternative to Google Chrome : SRWare

If you have privacy concerns and beloved google chrome bothers you about privacy,Well this is for you all

SRWare Iron: The Browser of the future
Overview
News
Chrome vs Iron
- FAQ (frequently asked questions)
Download
 


SRWare Iron: The browser of the future - based on the free Sourcecode "Chromium" - without any problems at privacy and security

Google's Web browser Chrome thrilled with an extremely fast site rendering, a sleek design and innovative features.  But it also gets critic from data protection specialists , for reasons such as creating a unique user ID or the submission of entries to Google to generate suggestions. SRWare Iron is a real alternative. The browser is based on the Chromium-source and offers the same features as Chrome - but without the critical points that the privacy concern.

We could therefore create a browser with which you can now use the innovative features without worrying about your privacy.

We want our users to participate in our work and make the browser free to download under the name "SRWare Iron" into the net.

What does Iron makes different? Read here.



* Chrome and Google are registered trademarks of Google Inc. 

EP : Hide Webmenu Menuitem

 Hide individual menuitem from webmenu

//create OnSetMenuItemProperties event

     protected void AxToolBar_SetMenuItemProperties(object sender,                                                                                                          SetMenuItemPropertiesEventArgs e)
    {
        // Remove the menu item context (query string will be empty)
        if (e.MenuItem.MenuItemAOTName == "EP_XXXXXXXX") //
        {
            e.MenuItem.Hidden = true;
        }
        if (e.MenuItem.MenuItemAOTName == "EP_XXXXXXXX")
        {
            e.MenuItem.Hidden = true;
        }
     }

AX 2012: Access infolog in EP

    Access infolog in EP 

using Proxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy;
using ApplicationProxy = Microsoft.Dynamics.Portal.Application.Proxy;

    private ISession AxSession
    {
        get
        {
            AxBaseWebPart webpart = AxBaseWebPart.GetWebpart(this);
            return webpart == null ? null : webpart.Session;
        }
    }
    protected void AxGridView1_SelectedIndexChanged(object sender, EventArgs e)
    {    
        Proxy.Info objInfoLog = new Proxy.Info(this.AxSession.AxaptaAdapter);
        objInfoLog.add(Proxy.Exception.Warning, "Hello World");
    }