Compatibility of AWS EC2 API Actions and IAM Policy Resource-Level Permissions

Joe PerksTechnical TipsLeave a Comment

Compatibility of AWS EC2 API Actions and IAM Policy Resource-Level Permissions

In this blog post I will examine how partial implementation of a feature of IAM policies: resource-level permissions interacts with AWS EC2 API actions to produce confusing results. Please note that AWS states in its documentation that it is planning on expanding the compatibility of resource-level permissions, so check the links at the bottom of this post for the most up-to-date information. Below is a short python program (troubleshooting.py) that utilizes the ec2:DescribeVolumes action. As you can see, I have omitted the access/secret key pair. If you wish to use this code, simply insert your access/secret key you obtained from the IAM … Read More

Creating Tasks from Apex in Salesforce

Trey AroseSalesforce, Technical Tips1 Comment

Creating Tasks from Apex in Salesforce

Tasks in Salesforce.com are a powerful tool that can help users and managers in the environment complete assignments associated to business processes. You can create tasks manually, through workflows, or custom Apex code. In this blog, we are going to show you how to create a task via Apex Code. When creating a new Task, you will need to include all required fields from the Task object. By default the Subject, OwnerId, Status, and WhatId fields are required, and will need to be included in the Task creation, along with any other fields your organization have marked as required. The … Read More

How to Create a SOAP Service in Salesforce

Trey AroseSalesforce, Technical TipsLeave a Comment

How to Create a SOAP Service in SFDC

Salesforce provides a powerful SOAP toolkit that developers can leverage to connect their services to their Salesforce.com enviromnet. In this entry we are going to show you how to create your SOAP service within Salesforce.com. First you will need to establish your Web Service logic. This can be done by creating a new Class in Salesforce.com. Below is an example that will create a new Account when called: global class AccountPlan{        //Define an object in apex that is exposed in apex web service   global class Plan {   webservice String Name;      webservice String aId; //Value Returned to Initial System    } … Read More

Record Naming Convention Trigger in Salesforce

Trey AroseSalesforce, Technical TipsLeave a Comment

Record Naming Convention Trigger in Salesforce

Out of the box Salesforce functionality does not allow for a naming convention on the Opportunity object. When creating an Opportunity, the user must enter a name for that Opportunity. If your business process requirements demand a set naming convention, asking the user to input a specific name every time is tedious and unreliable. In this post, we are going to show you how to implement a system generated naming convention, using fields found on the Opportunity object. You will need to agree upon which fields will comprise your naming convention based on your business process. Once you know which … Read More

Key features of Waterfall and Agile development methods

Tom GilpinTechnical Tips1 Comment

Key features of Waterfall and Agile development methods

Introduction There are many ways to manage a project, two of the most prominent ways are waterfall and agile. The outline below describes these two project management methods. Waterfall What is Waterfall? The waterfall methodology is a design process, frequently used in software development, which progresses sequentially through the phases of Planning, Analysis, Design, Implementation, and Maintenance. (Diagram 1) Advantages of Waterfall    Time and budget estimates are more reliable    Development processes tend to be more secure Disadvantages of Waterfall    Rigid and inflexible processes    Feedback and testing are deferred until very late into the project    Response to unanticipated problems require … Read More

How to Create a Public RESTful Web Service on a Force.com Site

Trey AroseSalesforce, Technical TipsLeave a Comment

How to Create a Public RESTful Web Service on a Force.com Site

In the following tutorial we make a simple RESTful Web Service on a Force.com site. So lets get started, we will first create a Apex class by navigating to Your Name | Setup | Develop | Apex Classes | New Below is the  Apex code, @RestResource(urlMapping=’/myservice’) global class MyService { @HttpGet global static String doGet() { String name = RestContext.request.params.get(‘name’); return ‘Hello ‘+name; } } Now the next step is to make this Apex class accessible via Public URL. Navigate to Your Name | Setup | Develop | Sites   Click the name of the site you want to control. … Read More

Managing Negative Leave Balances in Oracle EBS R12.1.3 HCM

Tom GilpinOracle, Technical TipsLeave a Comment

Managing Negative Leave Balances in Oracle EBS R12.1.3 HCM

The Challenge Managers of Oracle E-Business Suite HCM applications may wish to implement a business rule that prohibits employees from taking leave that exceeds their balance (ie result in a negative leave balance).  Until now, E-Business Suite has not provided an easy way to implement that business rule, rather, users needed to write custom code for the ‘BG_ABSENCE_DURATION’ fast formula.  For many users these seemed overly complicated. The Solution Beginning with E-Business Suite R12.1.3, following the simple steps below, Oracle has provided a profile option that can be set to prevent employees from taking leave that exceeds their balance. Authenticate … Read More

A Commentary of Dual Axis Graphics

Brian BurdiTechnical TipsLeave a Comment

A Commentary of Dual Axis Graphics

My philosophy of visualizing data is keep it simple, you want the audience to look at a graph and know within a few moments what it is showing. The key is for accuracy in interpreting the graph and speed; we need to be careful of potentially distorting the data because we don’t want the audience to misinterpret the graph too quickly.  An easy way of distorting the data is changing the range of the axis which can cause the audience to believe there are more extreme changes in the data when there actually isn’t and the data is overall stable. … Read More