-
ChatterFeed
-
0Best Answers
-
2Likes Received
-
0Likes Given
-
10Questions
-
10Replies
Strip \n embedded within quotes in CSV in APEX
I am hoping I can just find the \n's within double quotes and strip them or replace them.
Not sure...do I have to escape the arguments in ReplaceAll \\n?
Any thougths out there on an approach?
-
- theD
- March 30, 2016
- Like
- 0
- Continue reading or reply
Can I have a lookup field on parent that looks up child records?
Is this relationship eVen possible?
I would rather not do it through VF unless I have to.
Any thoughts out there?
-
- theD
- October 08, 2015
- Like
- 0
- Continue reading or reply
implement controlled by parent sharing in custom object with only lookup
Thanks
-
- theD
- September 10, 2015
- Like
- 0
- Continue reading or reply
launch flow from salesforce1 detail
/apex/pages/MyFlow?vId={!Contact.Id}&cName={!Contact.Name}
How can I do the same in Salesforce1 mobile?
-
- theD
- September 03, 2015
- Like
- 1
- Continue reading or reply
analytics:reportchart with filtering - use the link to report in other parts of page
Now, I want to be able to do that same thing but by using that hyperlink from the chart in another part of my VF Page.
Any way?
-
- theD
- June 08, 2015
- Like
- 0
- Continue reading or reply
Can't display relationship fields on Edit Page
Is there anyway around this without Extension controlller? I have looked at BB's http://bobbuzzard.blogspot.com/2011/11/retrieve-related-object-fields.html
Is that the only way to get this? This is one more for the list of dumb SF things.
-
- theD
- April 02, 2014
- Like
- 1
- Continue reading or reply
Javascript to find details on the Object of the current screen and related list
I have a home page component that can add notes/tasks to the current object in the detail page. I need find out through the Javascript what the current object is and if the sharing model allows the user to add notes/tasks and whether the object has notes/tasks (custom objs) . Right now this is all Javascript...no APEX and hoping to keep it that way if I can for the moment so if it is just a few calls in JS then good. Otherwise I am ok to do with JS/APEX if need be.
Can anyone point me in the right direction?
p.s. I see the
SELECT RecordId FROM UserRecordAccess
code but worried about a lot SOQL hits since this component could get driven by screen refreshes.
-
- theD
- October 14, 2013
- Like
- 0
- Continue reading or reply
A Rollup Challenge (or RollDown if you will)
I have an unusual requirement. From within a set of child records (I will use Invoices as an easy example) I need to find whether the current invoice record is larger or smaller than the previous largest invoice as of the date of that line item.
This needs to show in each record the status as of the date of that record so it's not just a simple rollup of the MAX of all records. It also needs to dynamically update if prior invoices are deleted or updated as well.
Think of this as a cascading value that will possibly be different with each record. I think of it as a "Roll Down" or "Roll Previous" or a max of prior siblings.
I am looking for a good way to implement this that doesn't max out governor limits.
Any thoughts would be appreciated.
-
- theD
- September 24, 2013
- Like
- 0
- Continue reading or reply
Looking for Examples of a multi step externalized Visual Workflow
I am wondering if anyone has done a multi step Visual Workflow(or another approach) that is multi step as well. Imagine....a customer goest to the workflow to collaborate on a process. They have to submit information including attaching documents. The next step is a review by the Company, if that step passes, the customer has a next step to complete....maybe more documents.
I am looking to take what is largely a manual flow that today involved emails, faxes, manual entry into a better web enabled flow.
Love to see/hear about any interesting approaches on this.
-
- theD
- August 30, 2013
- Like
- 0
- Continue reading or reply
Hover link to Related List from Wrappered Page Table
We have a custom object(e.g.Object A) with a Related List (Object B)
this is all wrappered and output in a PageBlockTable as below
All is well, for the Name field in Object A get a hover,etc. BUT what we want is to add a column with a "placeholder" in it that would hover the Related List (Object B) for that Row's entry (Master Record). Any good examples out there?
<apex:column id="pBT2C6" headerValue="Date" width="55px"> <apex:outputField id="pBT2C6OFld" value="{!mtmr.propMT.Date__c}"/> </apex:column>
-
- theD
- October 21, 2012
- Like
- 0
- Continue reading or reply
launch flow from salesforce1 detail
/apex/pages/MyFlow?vId={!Contact.Id}&cName={!Contact.Name}
How can I do the same in Salesforce1 mobile?
-
- theD
- September 03, 2015
- Like
- 1
- Continue reading or reply
Can't display relationship fields on Edit Page
Is there anyway around this without Extension controlller? I have looked at BB's http://bobbuzzard.blogspot.com/2011/11/retrieve-related-object-fields.html
Is that the only way to get this? This is one more for the list of dumb SF things.
-
- theD
- April 02, 2014
- Like
- 1
- Continue reading or reply
implement controlled by parent sharing in custom object with only lookup
Thanks
- theD
- September 10, 2015
- Like
- 0
- Continue reading or reply
Salesforce Reports in Visualforce pages
I am trying with the below code,
<apex:outputLink html-location="0" value="{!sfInstanceURL}/?startURL=/00On0000000JVvp&isdtp=nv&oauth_token={!sfOAuthToken}" rendered="true" target="_blank">SF Report</apex:outputLink>
And the generated URL looks like this,
https://cs30.salesforce.com/?startURL=/00On0000000JVvp&isdtp=nv&oauth_token=00Dn0000000Dccu!AQkAQIazITJ1oIAoQU2UljR5AZHe_auKkNrSkuQwWJqVjPZc2C3lB4JfCLD9jePAYFpBJX8rsNVPElqZm9YHR27U9X_UPzZI
But getting an error message as, "**Unable to Access Page**
The value of the "oauth_token" parameter contains a character that is not allowed or the **value exceeds the maximum allowed length**. Remove the character from the parameter value or reduce the value length and resubmit. If the error still persists, report it to our Customer Support team. Provide the URL of the page you were requesting as well as any other related information."
Am I missing something here??? can someone help me to resolve the issue...
- SELVARAJ SUBRAMANIAN
- April 21, 2015
- Like
- 0
- Continue reading or reply
Process Builder update Record Type
I'm trying to create a process to get rid of all my workflow rules, but I am struggling with the fact that I need to set an ID in order to update a record type.
I am forced to set the record type ID, and I cannot select the Record Type Name, like I used to do with workflows.
I am mising something? Is there anyway to set the Record Type based on the name and not on the ID?
Thanks in advance, Laura
- ldiaz
- February 18, 2015
- Like
- 0
- Continue reading or reply
Javascript to find details on the Object of the current screen and related list
I have a home page component that can add notes/tasks to the current object in the detail page. I need find out through the Javascript what the current object is and if the sharing model allows the user to add notes/tasks and whether the object has notes/tasks (custom objs) . Right now this is all Javascript...no APEX and hoping to keep it that way if I can for the moment so if it is just a few calls in JS then good. Otherwise I am ok to do with JS/APEX if need be.
Can anyone point me in the right direction?
p.s. I see the
SELECT RecordId FROM UserRecordAccess
code but worried about a lot SOQL hits since this component could get driven by screen refreshes.
- theD
- October 14, 2013
- Like
- 0
- Continue reading or reply
SalesForce Integration with External system
Hi,
I am trying to connect SalesForce with IBM Process Server. I am not able to get the absolute path of the Partner or the enterprise or Apex WSDL.
Is there any way of getting the absolute path of WSDLs in salesforce.
Secondly I dont want to use java for integration. I am trying to use IBM BPEL or mediation (IBM Webservice Utility where we need to pass the absolute path of the WSDL) to get it done. This will minimize and remove dependency over the java code.
Please help.
- RahulK
- October 08, 2013
- Like
- 0
- Continue reading or reply
A Rollup Challenge (or RollDown if you will)
I have an unusual requirement. From within a set of child records (I will use Invoices as an easy example) I need to find whether the current invoice record is larger or smaller than the previous largest invoice as of the date of that line item.
This needs to show in each record the status as of the date of that record so it's not just a simple rollup of the MAX of all records. It also needs to dynamically update if prior invoices are deleted or updated as well.
Think of this as a cascading value that will possibly be different with each record. I think of it as a "Roll Down" or "Roll Previous" or a max of prior siblings.
I am looking for a good way to implement this that doesn't max out governor limits.
Any thoughts would be appreciated.
- theD
- September 24, 2013
- Like
- 0
- Continue reading or reply
Trigger to prevent Date Overlap records-help!!
Hi,
I have a custom object , which includes three custom fields (Start date, End Date and Business Unit(Type: Picklist).
The three custom fields should be unique for a record, so the combination of these fields makes my record unique.
Example: start date: 05/20/2011, End Date: 05/27/2011, Business Type: Devices
Start date: 05/20/2011, End date:05/27/2011, Business Type: Drugs
Also, we must make sure that for new record the start and end dates do not fall within the above mentioned dates.
So the next acceptable record is:
Start date: 05/28/2011, end date: 05/31/2011,business type:Devices.
Note: I have a validation rule that checks that end date is always after start date.
I am having a road block to get this logic right in my trigger . Any help/pseudo code on this is highly appreciated.
Thanks,
Sales4ce
- sales4ce
- May 20, 2011
- Like
- 0
- Continue reading or reply