-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
16Questions
-
23Replies
How to generate a specific range of numbers?
I'd like to have a field on leads which will be a formula which does this:
Lead is created: Starts with 1, and moves sequentially up to X (lets say 17), and starts over once it hits 17.
Essentially it would be like an autonumber field, but only goes up to a specified value, and only if the record is in a certain status.
The reason for this is because the way the round robin formula is right now in Salesforce, is that you can't specify an auto number to increment based on certain criteria.
- Cyberfire
- November 05, 2009
- Like
- 0
- Continue reading or reply
IsUnreadByOwner - there, but can't be used!
If anyone can explain why I can't use this field, I'm all ears - this is for the Lead object. Here is what it looks like in Eclipse:
IsUnreadByOwner - _boolean
Access: createable
defaulted on create
filterable
updateable
When I try to reference this field in a workflow on a lead object, I get this error:
Error: Field IsUnreadByOwner does not exist. Check spelling.
Why is this? If I try to design the workflow in Eclipse, I'm sure I'll get the same error. Is this a bug?
- Cyberfire
- October 29, 2009
- Like
- 0
- Continue reading or reply
Time-based workflow not evaulating properly?
For some reason, when setting up a workflow that looks at a roll-up summary field on the account, it's just not working properly. Here is what I have in my formula for the workflow:
Evaluation Criteria: When a record is created, or when a record is edited and did not previously meet the rule criteria.
Formula:
CreatedBy.A_Agent__c=true && Number_of_closed_won_opportunities__c=null
This is what the debug log returns:
Evaluating Workflow Entry Criteria:
Formula: CreatedBy.A_Agent__c=true && Number_of_closed_won_opportunities__c = null
Value(s) Found: CreatedBy.A_Agent__c=1, Number_of_closed_won_opportunities__c=null
Criteria evaluates to false
I've tried multiple variations of this, and nothing seems to work! The debug log looks exactly like my formula criteria - why won't it validate and trigger?
- Cyberfire
- October 28, 2009
- Like
- 0
- Continue reading or reply
Inactive assignment rule not firing after update?
For some reason, when using the below trigger (which was provided in part by the salesforce developer pilot program), it will not invoke the inactive assignment rule which is called out. The only way we were able to get it to work is if we specify "after insert", which completely defeats the purpose of what this trigger is supposed to do.
Does anyone see any holes?
trigger Updatelead1 on Lead (after update) { //First get all the updated leads List<Lead> uptdLeads = new List<Lead>(); // Check Each Lead's owner, Invoke assignement rule if the owner is "00G50000000z37R" for(Lead ul : uptdLeads ){ if(ul.OwnerId == '00G50000000z37REAQ' ){ System.debug('$$$$Owner Matched'); database.DMLOptions dmo = new database.DMLOptions(); dmo.AssignmentRuleHeader.assignmentRuleID ='01Q500000006mKtEAI'; ul.setOptions(dmo); uptdLeads.add(ul); } } if(!uptdLeads.isEmpty()) Database.update(uptdLeads)
- Cyberfire
- October 28, 2009
- Like
- 0
- Continue reading or reply
Can a trigger use an inactive assignment rule?
I'd like to setup a trigger for leads which fires when the owner ID equals a queue we have setup, which would then re-assign the leads based on an inactive assignment rule - is this possible?
If so, how would I go about doing this?
- Cyberfire
- October 28, 2009
- Like
- 0
- Continue reading or reply
Javascript keybinding for keyboard shortcuts?
Does anyone know whether it is possible to associate keybindings through Javascript to allow users to perform functions in Salesforce through "hotkeys"? There is a HotKey app that Salesforce published a while back, which allows you to perform one of the "Create New" functions from the dropdown menu in the sidebar.
Here are some concepts that I'm working with in order to make Salesforce less click driven and more keystroke based:
Alt+11 = Sends a predefined email template to the lead
Alt+T = Creates a completed activity on the record, with a predefined subject line
Does anyone know if this is possible?
- Cyberfire
- October 22, 2009
- Like
- 0
- Continue reading or reply
Challenging workflow - account / opportunity cross-update
Here is the dilemma - I want the stage on the opportunity to update to a status when I change the owner of an account. I've tried everything I can think of with workflow, and no success.
I've found that even if I build a round-about workflow, when you change ownership at the account level, it apparently isn't "editing" the opportunity, even though it shows you modifying it, and no workflow will trigger on the opportunity.
I've tried using "ISCHANGED" with "every time a record is created or edited", and that doesn't work either. The error says: "The ISCHANGED function cannot reference the Account.OwnerId field." It says this when I'm trying to reference that field from an opportunity based workflow.
Any suggestions? Am I missing anything?
- Cyberfire
- September 15, 2009
- Like
- 0
- Continue reading or reply
Visualforce page with API to external webserver - possible?
What I'm trying to accomplish is have certain fields from our opportunities and/or accounts use an API through a visualforce page to automatically populate fields within an external web store.
From the user behavior, they navigate to an opportunity, click a custom button, and the external web store launches, with a variety of fields pre-populated with values from Salesforce.
I'm also curious if we can do the reverse as well - essentially take some of the data once the order is complete, and perform an upsert or update on the linked record with certain fields from the external web store.
I'm completely new to this, so any tips or documentation would be great!
- Cyberfire
- June 23, 2009
- Like
- 0
- Continue reading or reply
Unread by owner field - extremely frustratred
For some reason I can't get access to this field in any way through the force.com platform - can anyone shed any light? It's almost like salesforce just doesn't want to admit it's a field.
Using firebug, here is what came up:
<input id="c_17" type="checkbox" value="UNREAD" name="c_17" checked="checked"/>
<label for="c_17">Unread By Owner</label>
It's clearly a field but any varient of "unread" in any type of formula or workflow does not work.
Anyone else bumping into the same issue?
- Cyberfire
- March 20, 2009
- Like
- 0
- Continue reading or reply
Workflow to close tasks generated by workflow - vicious circle?
I'm attempting to simplify basic tasks for users, and here is what I am trying to do:
3 checkbox's, and when you check the first one, it logs 2 completed activities, sends an email, and generates a new tasks (status is not started) 2 hours later.
The problem is, I want a second checkbox that does this: close the open task that the first workflow created, and then create a new open task.
Since you can't create cross-object workflows, I'm not sure if this is even possible. I've been trying to figure out a good solution, but I think I'm up against a brick wall here.
Can apex do something like this?
- Cyberfire
- February 19, 2009
- Like
- 0
- Continue reading or reply
"Previous" or "Next" button on records - is it possible?
All we're looking to do is have a "Next" button that takes the user to the next record in that object that is owned by the user.
User A is in Leads, clicks next, and it goes to the next lead (alphabetically?)
Is this even possible?
- Cyberfire
- January 09, 2009
- Like
- 0
- Continue reading or reply
Preventing Duplicate Leads
For example:
unique lead in database has email of random@google.com
same person with different company submits another web to lead form, with random@google.com - this lead is never created, and we miss out on it.
Any possible workarounds to this? Is there a way to only trigger when a user manually creates a new lead?
- Cyberfire
- January 09, 2009
- Like
- 0
- Continue reading or reply
Javascript button override
I'm attempting to override a custom button that takes a user to an internal link - what I want to do however, is check to see if certain fields are blank or not before executing the link. What would I need to do in order to make this possible?
Rule be something like this:
If {!Primary Campaign Source} = null, do not navigate to link, instead, popup an alert box which says "This campaign is blank, blah blah etc".
Any takers?
- Cyberfire
- January 07, 2009
- Like
- 0
- Continue reading or reply
Mapping a custom formula field - suggestions?
The problem is, I can't seem to get the formula field on the leads object to map over to the opportunities object. A workflow isn't really ideal, as you have to click edit and save to get that to duplicate the value on a separate text field. Any suggestions?
- Cyberfire
- November 24, 2008
- Like
- 0
- Continue reading or reply
Opportunity bridging 3 objects with S-control - possible?
I've tried using contact lookup field, and referencing the contact table once that field is there, but no success. Formula fields don't work either.
Even the S-control I tried to build didn't work using {!Opportunity.Contact__r.FirstName}. It just says that the field doesn't exist.
If I create the lookup and users actually link the contact, then the custom formula fields will populate data from the Contact table - I'm trying to eliminate this manual entry.
Any suggestions?
- Cyberfire
- November 13, 2008
- Like
- 0
- Continue reading or reply
Leads & Campaigns - help needed
- Cyberfire
- October 30, 2008
- Like
- 0
- Continue reading or reply
How to generate a specific range of numbers?
I'd like to have a field on leads which will be a formula which does this:
Lead is created: Starts with 1, and moves sequentially up to X (lets say 17), and starts over once it hits 17.
Essentially it would be like an autonumber field, but only goes up to a specified value, and only if the record is in a certain status.
The reason for this is because the way the round robin formula is right now in Salesforce, is that you can't specify an auto number to increment based on certain criteria.
- Cyberfire
- November 05, 2009
- Like
- 0
- Continue reading or reply
Salesforce.com Ideas- am I missing something here?
I am hoping I get this close enough to where you guys wont blast me for posting in the wrong place :)
I have setup "Ideas" on our customer portal and have yet to figure out a good way to setup administration, notifications, or tracking of new ideas that our customers submit.
There are no settings for email notification or administration of the ideas page itself or for posts. All of the new features that they sold us on, like customer portal and ideas are half baked solutions from what I have seen compared to the rest of SFDC.
It is perfect for entering ideas but how do we as a company know when the ideas are submitted? Hopefully I am missing something because my recommendation to the business as of now is to scrap ideas, open up a forum, save some money and call it a day.
I appreciate any "ideas" anyone has.. Thanks in advance
-Ryan
- Goodiesd
- November 03, 2009
- Like
- 0
- Continue reading or reply
Time-based workflow not evaulating properly?
For some reason, when setting up a workflow that looks at a roll-up summary field on the account, it's just not working properly. Here is what I have in my formula for the workflow:
Evaluation Criteria: When a record is created, or when a record is edited and did not previously meet the rule criteria.
Formula:
CreatedBy.A_Agent__c=true && Number_of_closed_won_opportunities__c=null
This is what the debug log returns:
Evaluating Workflow Entry Criteria:
Formula: CreatedBy.A_Agent__c=true && Number_of_closed_won_opportunities__c = null
Value(s) Found: CreatedBy.A_Agent__c=1, Number_of_closed_won_opportunities__c=null
Criteria evaluates to false
I've tried multiple variations of this, and nothing seems to work! The debug log looks exactly like my formula criteria - why won't it validate and trigger?
- Cyberfire
- October 28, 2009
- Like
- 0
- Continue reading or reply
Can a trigger use an inactive assignment rule?
I'd like to setup a trigger for leads which fires when the owner ID equals a queue we have setup, which would then re-assign the leads based on an inactive assignment rule - is this possible?
If so, how would I go about doing this?
- Cyberfire
- October 28, 2009
- Like
- 0
- Continue reading or reply
SMS from Salesforce to a cellphone
I need to send a SMS from a list of contacts in SF... The idea is: make a report with some criterias and send to all this people a SMS, and save a task in each record that says it was sended the SMS
Have anybody made something like this??
- MayeUPAEP
- October 22, 2009
- Like
- 0
- Continue reading or reply
I am new to the developer force
I am new to the developer force. I was a developer working on a billing product. Currently we are looking at saas domain. I need to work on integrating our pages in sales force. We are providing tabs in sales force which navigates to our portal and so user can do operations. Here we need some help how to integrate the data between the portals.
1. Whenever a prospect customer converted to customer, information should be passed to our portal. How this can be achieved. Can any body share the approach and sample code if possible.
2. Can we access the session related information related to accounts, leads etc.,.Can we pass those as querystring to our portal. So that customer data will be automatically populated in the page instead of enterring the account number again.
I am looking forward on this.
- Srikant
- October 22, 2009
- Like
- 0
- Continue reading or reply
Javascript keybinding for keyboard shortcuts?
Does anyone know whether it is possible to associate keybindings through Javascript to allow users to perform functions in Salesforce through "hotkeys"? There is a HotKey app that Salesforce published a while back, which allows you to perform one of the "Create New" functions from the dropdown menu in the sidebar.
Here are some concepts that I'm working with in order to make Salesforce less click driven and more keystroke based:
Alt+11 = Sends a predefined email template to the lead
Alt+T = Creates a completed activity on the record, with a predefined subject line
Does anyone know if this is possible?
- Cyberfire
- October 22, 2009
- Like
- 0
- Continue reading or reply
Visualforce page with API to external webserver - possible?
What I'm trying to accomplish is have certain fields from our opportunities and/or accounts use an API through a visualforce page to automatically populate fields within an external web store.
From the user behavior, they navigate to an opportunity, click a custom button, and the external web store launches, with a variety of fields pre-populated with values from Salesforce.
I'm also curious if we can do the reverse as well - essentially take some of the data once the order is complete, and perform an upsert or update on the linked record with certain fields from the external web store.
I'm completely new to this, so any tips or documentation would be great!
- Cyberfire
- June 23, 2009
- Like
- 0
- Continue reading or reply
Unread by owner field - extremely frustratred
For some reason I can't get access to this field in any way through the force.com platform - can anyone shed any light? It's almost like salesforce just doesn't want to admit it's a field.
Using firebug, here is what came up:
<input id="c_17" type="checkbox" value="UNREAD" name="c_17" checked="checked"/>
<label for="c_17">Unread By Owner</label>
It's clearly a field but any varient of "unread" in any type of formula or workflow does not work.
Anyone else bumping into the same issue?
- Cyberfire
- March 20, 2009
- Like
- 0
- Continue reading or reply
Development of a discussion board
- gops
- March 19, 2009
- Like
- 0
- Continue reading or reply
Workflow to close tasks generated by workflow - vicious circle?
I'm attempting to simplify basic tasks for users, and here is what I am trying to do:
3 checkbox's, and when you check the first one, it logs 2 completed activities, sends an email, and generates a new tasks (status is not started) 2 hours later.
The problem is, I want a second checkbox that does this: close the open task that the first workflow created, and then create a new open task.
Since you can't create cross-object workflows, I'm not sure if this is even possible. I've been trying to figure out a good solution, but I think I'm up against a brick wall here.
Can apex do something like this?
- Cyberfire
- February 19, 2009
- Like
- 0
- Continue reading or reply
Override Convert Lead button with default behavior plus 1 simple action - sample code, please?
I haven't done much with custom S-Controls, so if someone is willing to provide some example code for how to do this, I'd really appreciate it.
Basically, I'm running into the issue outlined in the thread Time-Based Workflow Rules on Leads Preventing Lead Conversion -- so I want to create a button override that sets a variable (ConvertMe = true), then converts the lead as usual.
How would I do this?
I can get a custom button to convert a lead when I use this simple HTML code:
/lead/leadconvert.jsp?retURL=/{!Lead.Id}&id={!Lead.Id}
But how do I first set the variable? I've tried a number of different functions and OnClick JavaScripts I've found in these discussion boards, but haven't had any luck yet.
Any suggestions? It doesn't seem like this should be that complicated, but I'm obviously missing something. :)
Thanks!
- Gabe
- January 28, 2009
- Like
- 0
- Continue reading or reply
"Previous" or "Next" button on records - is it possible?
All we're looking to do is have a "Next" button that takes the user to the next record in that object that is owned by the user.
User A is in Leads, clicks next, and it goes to the next lead (alphabetically?)
Is this even possible?
- Cyberfire
- January 09, 2009
- Like
- 0
- Continue reading or reply
Preventing Duplicate Leads
For example:
unique lead in database has email of random@google.com
same person with different company submits another web to lead form, with random@google.com - this lead is never created, and we miss out on it.
Any possible workarounds to this? Is there a way to only trigger when a user manually creates a new lead?
- Cyberfire
- January 09, 2009
- Like
- 0
- Continue reading or reply