-
ChatterFeed
-
0Best Answers
-
4Likes Received
-
0Likes Given
-
10Questions
-
27Replies
Adding trails
Hi,
Salesforce support pointed me in this direction, is it possible to add custom trails to trailhead for our org? Is this something that is on roadmap?
Many thanks
Aidan
Salesforce support pointed me in this direction, is it possible to add custom trails to trailhead for our org? Is this something that is on roadmap?
Many thanks
Aidan
- Aidan Keenan
- July 05, 2016
- Like
- 0
- Continue reading or reply
Apex trigger that will update another field when another field is auto incremented.
I am trying to develop a field that will close all jobs order statuses when another field which is set to auto increment each day goes over 30.
Here is my trigger but this is only working when an edit is done to the job order and I press save which is not what I want. I want all job orders with days idle greater than 30 to be closed. This is my trigger so far. Any ideas how I can set this.
trigger closeJobOrder on ts2__Job__c (before update) {
for(ts2__Job__c jobOrderStatus : trigger.new){
if (jobOrderStatus.Days_Idle__c > 30)
{
jobOrderStatus.ts2__Status__c ='Closed';
}
}
}
Here is my trigger but this is only working when an edit is done to the job order and I press save which is not what I want. I want all job orders with days idle greater than 30 to be closed. This is my trigger so far. Any ideas how I can set this.
trigger closeJobOrder on ts2__Job__c (before update) {
for(ts2__Job__c jobOrderStatus : trigger.new){
if (jobOrderStatus.Days_Idle__c > 30)
{
jobOrderStatus.ts2__Status__c ='Closed';
}
}
}
- Aidan Keenan
- May 14, 2014
- Like
- 0
- Continue reading or reply
How to relate a standardcontroller to a custom object
How do I relate a standardcontroller to a custom object on a visual force page
<apex:page standardController="ts2__Placement__c" showHeader="false" sidebar="false">
<p>You are viewing the {!ts2__Placement__c.name} record .</p>
Sample Encrypted Bank Account: <apex:outputField value="{!ts2__Placement__c.Sample_Bank_Acc__c}" /><br />
</apex:page>
I am getting a error saying I cannot use the custom object on the visualforce page when I try to do this.
<apex:page standardController="ts2__Placement__c" showHeader="false" sidebar="false">
<p>You are viewing the {!ts2__Placement__c.name} record .</p>
Sample Encrypted Bank Account: <apex:outputField value="{!ts2__Placement__c.Sample_Bank_Acc__c}" /><br />
</apex:page>
I am getting a error saying I cannot use the custom object on the visualforce page when I try to do this.
- Aidan Keenan
- March 25, 2014
- Like
- 1
- Continue reading or reply
apex iframe in a e mail template?
I am try to put a visualforce iframe into a e mail template, however the iframe will only work as a link in the e mail template and will not come through if I put it inside the HTML e mail body
<messaging:plainTextEmailBody>
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:plainTextEmailBody>
<messaging:htmlEmailBody >
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:htmlEmailBody>
The reason I am doing this is that I am trying to bring through an encrypted custom field which is is masked if i do not try and do it this way. Is there a way to bring the iframe through in the e mail template??
<messaging:plainTextEmailBody>
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:plainTextEmailBody>
<messaging:htmlEmailBody >
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:htmlEmailBody>
The reason I am doing this is that I am trying to bring through an encrypted custom field which is is masked if i do not try and do it this way. Is there a way to bring the iframe through in the e mail template??
- Aidan Keenan
- March 25, 2014
- Like
- 1
- Continue reading or reply
Exporting data from salesforce to external systems
Hi
I am wondering is it possible to send information straight from salesforce to an external system. And if not what is the best data integration tool to use. Such as DBamp etc.
I am wondering is it possible to send information straight from salesforce to an external system. And if not what is the best data integration tool to use. Such as DBamp etc.
- Aidan Keenan
- March 19, 2014
- Like
- 0
- Continue reading or reply
Salesforce to external system integration Any alternative to DBamp
Hi
I am wondering is there any good alternatives to DBamp out there that would allow me to push information straight from my Salesforce objects into another database?
I am wondering is there any good alternatives to DBamp out there that would allow me to push information straight from my Salesforce objects into another database?
- Aidan Keenan
- March 18, 2014
- Like
- 1
- Continue reading or reply
Displaying an encrypted custom field
Hi
I have a encrypted custom field. I want this field to be shown as plain text in an e mal template. I am using the apex outputField <messaging:attachment >
Encrypted Account Number: <apex:outputField value="{!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c}"/>
</messaging:attachment>
However the field remaims encypted in the e mail attachment.
Does anyone know a way around this??
I have a encrypted custom field. I want this field to be shown as plain text in an e mal template. I am using the apex outputField <messaging:attachment >
Encrypted Account Number: <apex:outputField value="{!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c}"/>
</messaging:attachment>
However the field remaims encypted in the e mail attachment.
Does anyone know a way around this??
- Aidan Keenan
- March 03, 2014
- Like
- 0
- Continue reading or reply
Apex code that will show an encrypted field
Hi
I have a encrypted custom field. I want this field to be shown as plain text in an e mal template. I am using the apex outputField <messaging:attachment >
Encrypted Account Number: <apex:outputField value="{!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c}"/>
</messaging:attachment>
However the field remaims encypted in the e mail attachment.
Does anyone know a way around this??
I have a encrypted custom field. I want this field to be shown as plain text in an e mal template. I am using the apex outputField <messaging:attachment >
Encrypted Account Number: <apex:outputField value="{!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c}"/>
</messaging:attachment>
However the field remaims encypted in the e mail attachment.
Does anyone know a way around this??
- Aidan Keenan
- March 03, 2014
- Like
- 0
- Continue reading or reply
I want to use an encrypted custom field in an e mail template?
I want to use an encrypted custom field in an e mail template. I want the field to be visible to the recipient of this e mail. Here is the code that gets the custom field from the record in the visualforce e mail template Encrypted Account Number: {!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c} Is there a way of doing this?
- Aidan Keenan
- February 28, 2014
- Like
- 1
- Continue reading or reply
Site.com OR Force.com OR Customer portal
Does anyone know what would be the best way to go as develop a page for a customer portal. Wheather to go with Sites.com or Force.com sites or Customer portal. I want to develop a client page in which allows the client to access a limited amount of information for example their client name, job orders etc.
- Aidan Keenan
- February 20, 2014
- Like
- 0
- Continue reading or reply
How to relate a standardcontroller to a custom object
How do I relate a standardcontroller to a custom object on a visual force page
<apex:page standardController="ts2__Placement__c" showHeader="false" sidebar="false">
<p>You are viewing the {!ts2__Placement__c.name} record .</p>
Sample Encrypted Bank Account: <apex:outputField value="{!ts2__Placement__c.Sample_Bank_Acc__c}" /><br />
</apex:page>
I am getting a error saying I cannot use the custom object on the visualforce page when I try to do this.
<apex:page standardController="ts2__Placement__c" showHeader="false" sidebar="false">
<p>You are viewing the {!ts2__Placement__c.name} record .</p>
Sample Encrypted Bank Account: <apex:outputField value="{!ts2__Placement__c.Sample_Bank_Acc__c}" /><br />
</apex:page>
I am getting a error saying I cannot use the custom object on the visualforce page when I try to do this.
- Aidan Keenan
- March 25, 2014
- Like
- 1
- Continue reading or reply
apex iframe in a e mail template?
I am try to put a visualforce iframe into a e mail template, however the iframe will only work as a link in the e mail template and will not come through if I put it inside the HTML e mail body
<messaging:plainTextEmailBody>
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:plainTextEmailBody>
<messaging:htmlEmailBody >
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:htmlEmailBody>
The reason I am doing this is that I am trying to bring through an encrypted custom field which is is masked if i do not try and do it this way. Is there a way to bring the iframe through in the e mail template??
<messaging:plainTextEmailBody>
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:plainTextEmailBody>
<messaging:htmlEmailBody >
<apex:iframe src="/apex/testEncrypted2?id=003A0000009bypw" scrolling="true" id="theIframe"/>
</messaging:htmlEmailBody>
The reason I am doing this is that I am trying to bring through an encrypted custom field which is is masked if i do not try and do it this way. Is there a way to bring the iframe through in the e mail template??
- Aidan Keenan
- March 25, 2014
- Like
- 1
- Continue reading or reply
Salesforce to external system integration Any alternative to DBamp
Hi
I am wondering is there any good alternatives to DBamp out there that would allow me to push information straight from my Salesforce objects into another database?
I am wondering is there any good alternatives to DBamp out there that would allow me to push information straight from my Salesforce objects into another database?
- Aidan Keenan
- March 18, 2014
- Like
- 1
- Continue reading or reply
I want to use an encrypted custom field in an e mail template?
I want to use an encrypted custom field in an e mail template. I want the field to be visible to the recipient of this e mail. Here is the code that gets the custom field from the record in the visualforce e mail template Encrypted Account Number: {!relatedTo.ts2__Employee__r.Sample_Bank_Acc__c} Is there a way of doing this?
- Aidan Keenan
- February 28, 2014
- Like
- 1
- Continue reading or reply
Apex trigger that will update another field when another field is auto incremented.
I am trying to develop a field that will close all jobs order statuses when another field which is set to auto increment each day goes over 30.
Here is my trigger but this is only working when an edit is done to the job order and I press save which is not what I want. I want all job orders with days idle greater than 30 to be closed. This is my trigger so far. Any ideas how I can set this.
trigger closeJobOrder on ts2__Job__c (before update) {
for(ts2__Job__c jobOrderStatus : trigger.new){
if (jobOrderStatus.Days_Idle__c > 30)
{
jobOrderStatus.ts2__Status__c ='Closed';
}
}
}
Here is my trigger but this is only working when an edit is done to the job order and I press save which is not what I want. I want all job orders with days idle greater than 30 to be closed. This is my trigger so far. Any ideas how I can set this.
trigger closeJobOrder on ts2__Job__c (before update) {
for(ts2__Job__c jobOrderStatus : trigger.new){
if (jobOrderStatus.Days_Idle__c > 30)
{
jobOrderStatus.ts2__Status__c ='Closed';
}
}
}
- Aidan Keenan
- May 14, 2014
- Like
- 0
- Continue reading or reply