PHP, SugarCRM, Javascript, Cool Web Apps Developer

Blog

Fetch Current User Id - Sugar 7

Posted by swapnil shinde on October 5, 2014 at 10:30 AM

From any of the javascript you have included in sugar crm's view hit following code response will give you the info you need.

App.api.call(

    'read',

    App.api.buildURL( 'me' ),

    null,{

    success: _.bind( function( objCurrentUser ) {

        custom_user_id: objCurrentUser.current_user.id,

    }, this )

 });


Categories: Oct2014-SugarCRM Help

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

You must be a member to comment on this page. Sign In or Register

0 Comments