Thursday, September 20, 2018

Demystifying GlideAjax (Infographic)






Let's face it, unless you're a web developer who has been on the AJAX bandwagon for a while, GlideAjax can be downright confusing.  At best, it is often a mystical voodoo incantation, sure you can say the words but your just one "Klaatu verata necktie" away from unleashing a horde of undead code that will leave you wanting to unload a fist full of boomstick on your computer.  With that in mind, I have put together the infographic below to illuminate your path, equip you for the debugging battles ahead, and return you to your time.  Or return to you, your time.  Whichever.

Saturday, September 15, 2018

Servicenow Tutorial for Beginners - Servicenow Basic

ServiceNow Tutorial for Beginners - ServiceNow Basic 

What is ServiceNow


ITIL v3 + Web 2.0 + SaaS = Service-now.com, a pioneer of On Demand IT Service Management combines ITIL v3 guidelines with Web 2.0 technology to a Software as a Service offering.
As we have seen in many cases customers of SaaS providers are increasingly asking for identity and access management features for convenience and security. To meet these requirements Service-now.com added SAML v2 support to their Spring 2010 release. This is in line with what we have seen at other important SaaS players like Salesforce.com who added SAML 1.1 support in the Summer 2008 release and SAML 2.0 later. Demonstrating once more that SAML 2.0 is a must-have in the enterprise SaaS world.
ServiceNow is a leading provider of cloud-based services that automate enterprise IT operations. We focus on transforming enterprise IT by automating and standardizing business processes, transforming IT's relationship with its customers, and consolidating IT across the global enterprise. Organizations deploy our service to create a single system of record for enterprise IT, lower operational costs and enhance efficiency. Additionally, our customers use our extensible platform to build custom applications for automating activities unique to their business requirements.

What Do I Get with ServiceNow?


ServiceNow offers the following services and benefits. On-demand IT Service Management and  IT governance functions Guaranteed performance, availability, and continuity of service Data confidentiality and data integrity ServiceNow will continue to experience rapid growth in coming years, spurred by its customer-centric approach, its expanding portfolio and it's experienced management team. By expanding its portfolio, ServiceNow will maintain its disruptive ITSM position while diversifying revenue. After hiring members of Data Domain’s ex-management team, including Slootman, in 2H11 and more than doubling its headcount, ServiceNow has the technology and bodies in place to succeed in coming years. Data Domain is an IT company that experienced a growth curve similar to that of ServiceNow, giving its management team experience in growing small companies into enterprises. As customers’ comfort with cloud increases, ServiceNow will continue eroding BMC’s and HP’s traditional ITSM solutions throughout 2012 and will begin to disrupt IBM’s ITSM customer base in coming years. The SaaS-based ITSM market, although currently only an estimated 7 percent of the total ITSM market, is quickly growing. Disruptive vendors like ServiceNow are capitalizing on the market’s growth, driven by customer demand for cloud. However, ServiceNow will face headwinds in addressing more complex IT environments such as hybrid, on-premise hosted or mainframe environments where competitors maintain a strong footprint.

Thursday, September 13, 2018

How to communicate two different widgets in a page

How to communicate two different widgets in a page

Step 1: Create a widget and give the name as per your choice, and insert below code of your widget.

HTML PART :-

<div class="panel panel-default">
  <div class="panel-body">
  <div class="form-group">
    <label>Title</label>
    <input class="form-control" ng-model="c.data.name">
    </div>
    <div class="form-group">
   
      <lable>Description</lable>
      <input class="form-control" ng-model="c.data.sdec">
    </div>
    <div class="form-group">
   
      <input class="btn btn-primary btn-block" ng-click="c.addItem()" type="submit" value="Add">
    </div>
  </div>
</div>

SERVER SCRIPT:-

(function() {
  /* populate the 'data' object */
  /* e.g., data.table = $sp.getValue('table'); */
if(!input)
return;
var gr=new GlideRecord("<your tbl name>");
gr.initialize();
gr.variable_name=input.name;
gr.varaible_name=input.sdec;
gr.insert();
})();

CLIENT SCRIPT :-

function() {
  /* widget controller */
  var c = this;
c.addItem=function()
{
c.server.update().then(function(response){
c.data={};
})
  }
}

Step 2: Create the second widget and give the name as per your choice, insert the following code.

HTML PART :-

<div class="panel panel-default">
  <div class="panel-heading">
  TASK
  </div>
 <div class="list-group">
  <a class="list-group-item" ng-repeat="task in c.data.tasks">
   <input class="pull-left" type="checkbox">
    <div class="m-l-lg">
      <b class="text-primary">{{task.name}}</b><br>
  {{task.description}}
    </div>
   </a>
  </div>
  <div ng-if="c.data.tasks.length==0" class="b-t wrapper text-center">NO TASK</div>
</div>

SERVER SCRIPT:-

(function() {
 data.tasks=[];
var gr=new GlideRecord('<tbl_name>');
gr.query();
while(gr.next())
{
var task={};
task.name=gr.getDisplayValue('variable_name1');
task.description=gr.getDisplayValue('variable_name2');
task.sys_id=gr.getUniqueValue();
data.tasks.push(task);
}
})();

CLIENT SCRIPT:-

function($scope,spUtil) {
  /* widget controller */
  var c = this;
spUtil.recordWatch($scope,"<tbl name>","",function(name,data){
spUtil.update($scope);
});
}


Step 3:- Create a page and add both the widget inside the page.

Step 4 :-  Test







Tuesday, September 11, 2018

Use the Customer Service case timeline with other applications

Use the Customer Service case timeline with other applications


You can use the Customer Service case timeline with other ServiceNow applications by creating a configuration for each application and adding the ResolutionShaper field to the desired form.

Procedure :-

1. Ensure that the Customer Service plugin (com.sn_customerservice) has been activated.

2. Navigate to the Resolution Shaper Configs page (<instance>sys_resolutionshaper_config_list.do) and click New.

3. Select a table in the Task Table field.

4. Add the desired states in the Requestor States field using a comma-separated list. For example, (New, Active, Resolved, Closed).

5. Make any necessary changes to the remaining fields and click Submit.

6. Navigate to the desired form.

7. Right-click the form header and select Configure > Form Layout.

8. Using the slushbucket, select ResolutionShaper and move it to where you want the timeline to appear.


9. Click Save.


What’s New in Kingston: Customer Service Management Deep Dive.


What’s New in Kingston: Customer Service Management Deep Dive.

Please click below link.

Click Me...

Monday, September 10, 2018

How to Make Variables Read Only Using g_form in ServiceNow

Variables Read Only

1. I was recently working with a colleague who mentioned that he had seen a new (un-documented) g_form method which allows you to set all catalog item Variables to Read Only.

2. Perform this trick (makes it so fulfillers of tasks update variables but they can’t be updated from the catalog item request). 

Use the below code on your catalog client script :-

g_form.setVariablesReadOnly(true);

Saturday, September 8, 2018

Enable electronic signature for approval

This topic explains how to enable electronic signatures for approval. Electronic signatures are helpful if you must obtain a digital signature for compliance or auditing purposes.

You can activate the Approval with e-signature to require that users type in a username and password when reviewing and approving documents.

The digital signature is not tracked or stored in the document record. Users must simply type in a username and password after clicking the Approve or Reject button.

Digital signature












After activating the Approval with E-Signature plugin, ensure that a row in the e-signature registry table is created for the dms_document_revision table.

Procedure
  1. Navigate to System Definition > e-Signature Registry.
  2. Check if dms_document_revision is already listed and Enabled is set to true.
  3. If not listed, click New.
  4. In Table name, select Document Revision.
  5. Select Enabled.
  6. Click Submit.