How to Solve Now

Main menu

Skip to primary content Skip to secondary content
  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
    • Telephone
      • Android
    • Website Design
  • Computer
    • Installation
  • Contact Us

Category Archives: Sugar

How to Solve Now > Home > Sugar

Creating a meeting and sending the invite

Posted on August 25, 2017 by Janaki in Sugar / 0 Comment(s)

PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$meetingObj = new Meeting();
$meetingObj->name= "Meeting Subject";
$meetingObj->date_start='2017-01-01 08:00:00';
$meetingObj->date_end= '2017-01-01 09:00:00';
$meetingObj->team_id=1;
$meetingObj->status='Planned';
$meetingObj->type='Sugar';
$meetingObj->schedule_type_c='FT';
/*
* from user preference
*/
$meetingObj->reminder_time = $current_user->getPreference("reminder_time");
$meetingObj->email_reminder_time = $current_user->getPreference("email_reminder_time");
 
$meetingObj->assigned_user_id = $current_user->id;
$meetingObj->send_invites=false;
$meetingObj->contact_id = 1;
$meetingObj->duration_hours = 1;
$meetingObj->duration_minutes= 0;
 
$meetingObj->save();
$meetingId = $meetingObj->id;
 
// Send the invite to User
$meetingObj->set_accept_status(1,'none');
$meetingObj->send_invites=true;
$meetingObj->save(true);

Logic Hook Field-Change Detection

Posted on August 25, 2017 by Janaki in Sugar / 0 Comment(s)

SugarCRM Logic Hooks are a powerful way of interacting with data or other systems on specific system actions, usually retrieving or saving a record. A common customization challenge we face […]

Manually Removing Module Loader Packages

Posted on August 15, 2017 by Janaki in Sugar / 0 Comment(s)

Use the following steps to remove the reference to the package in the Sugar file system: Navigate to the ./upload/upgrades/module/ directory. Create a new directory titled “disabled”. Move the files […]

Custom Entrypoint

Posted on August 7, 2017 by Janaki in Sugar / 0 Comment(s)

Create an entrypoint fine anywhere in custom folder(file can be located anywhere you choose). Let say the file is: ./custom/customEntryPoint.php

PHP
1
2
3
<?php
    if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
    echo "Hello World!";

Next, we will need to create our extension in […]

  1. Pages:
  2. 1
  3. 2
  4. »

Categories

  • Android (12)
  • API (2)
  • ASP.Net (2)
  • Blackberry (3)
  • C# (4)
  • Cassandra (1)
  • CCIR Service (1)
  • Computer (5)
  • Content Management (1)
  • DBMS (1)
  • E-Mail (4)
  • Excel (2)
  • Explorer (2)
  • Installation (17)
  • Internet (12)
  • iPhone (1)
  • JAVA (4)
  • Javascript (6)
  • JSP (1)
  • Language (2)
  • Laravel (17)
  • Linux (8)
  • Mongo (1)
  • More (13)
  • MySQL (5)
  • Oracle (1)
  • PHP (35)
  • Question Set (1)
  • Reference (4)
  • Salesforce (7)
  • Shoretel (1)
  • SQL (1)
  • Sugar (6)
  • Telephone (7)
  • Web Programming (1)
  • Web Service (3)
  • Website Design (6)
  • Website Hosting (2)
  • Zend (2)

Popular

Install MySQL as window service0 comment(s)
Getting weeks between two dates in MySql0 comment(s)
Back Up MySQL Databases From The Command Line0 comment(s)

want to twitt

  • Connectivity Issues with .IN Registry • Namecheap Status https://t.co/F0b2vWwTL7 via @Namecheap 04:03:49 AM March 27, 2017 from Twitter Web Client ReplyRetweetFavorite
  • CentOs Vagrant Configuration file https://t.co/Ay8ZGxexTU 06:13:44 PM December 27, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Laravel Artisan commands are added to website. check now https://t.co/jOO35sbnwv 12:09:03 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Just setting up my Twitter. #myfirstTweet 12:07:12 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
@xenatasolutions

  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
  • Contact Us
© 2015 How to solve now, powered by Xenata Solutions