Quantcast
Channel: All Salesforce Labs & Open Source Projects posts
Viewing all 195 articles
Browse latest View live

Re: Cloud Swarm 3 - custom object

0
0

Were you ever able to get this working? We are trying to do something similar with a custom object and getting an "Invalid SObject type name" error on the trigger below.

 

trigger orderSwarm on Order_c (afterinsert, afterupdate) {

 

    List<Id> OrderIds = new List<Id>();

    for (Order_c thisOrder : Trigger.New) {

        orderIds.add(thisOrder.Id);

    }// for

 

    if (orderIds.size() > 1) {

        if (!System.isBatch() && !System.isFuture()) {

            SwarmHelper.evaluateOpptyRulesFuture(orderIds);

        }

    } else {

        SwarmHelper.evaluateOrderRules(orderIds);

    }

 

}


Entitlements Application created by Salesforce Labs Stop Statuses do not work

0
0

We installed the Entitlements App created by Salesforce Labs in 2008.  I've recently discovered that one of the stap statuses does not stop the clock.  Do you know if there is a limit as to how many stop statuses you can have?  

Uninstall Milestones PM (Unmanaged)

0
0

Hi,

I Would like to unistall the unmanaged package of Milestones PM Summer 11 and re-install with latest version. Havaing a difficult time uninstalling due to dependencies with apex classes, triggers etc.

Any suggestions?

 

How to get prefix by the SOAP API

0
0

Hi,

 

i am using to call salesforce service using SOAP API in java plateform

 

i am created two custom object

 

but when i am using my app..it is asking about the prefix...

 

actually a have added prefix.. if i modify all the custom object and field with prefix then after making the package it calling the the object by according to the customer prefix...as prefix is depend upon the customer what he have created

 

can you help how to get the prefix of a ccount in java language using SOAP API SO the i will used the concat dynamically the prefix with custom object and field

 

Quick reply will be appreciated

 

Thanks

 

Raveendra

 

Re: Automatically Follow Accounts Using Cloud Swarm 3?

0
0

Hello,

 

I am trying to follow accounts with cloud swarm 3. i am not yet used to this device so could you please give me more precisions about the way I should install the unknown package and how I should modify the code. 

 

Thank you very much!

Video Solutions - Only secure content is displayed

0
0

The video solutions application is not currently work for us.  We receive an error message stating "Only secure content is displayed" when displaying the Solutions content where the video thumbnail should be displayed.  When we select "Show all content" (IE display error) the message cycles back to the same error.  Since Youtube can deliver securely I think a quick revision to your code to pull the stream via an HTTPS would solve our situation?

 

Any other suggestions would be greatly appreciated.

 

Cheers

TP

Re: Opportunity roll up to all Contact Roles

0
0

Hi Marella,

I am also looking for same logic, did you able to crack it.

THanks,

Ramesh

Public Knowledge Base Maintenance Page

0
0

Is there a way to control what page is redirected to for incorrect URL's? The one set in the site settings works for everything except for /articles/*ValidArticleType*/*InvalidArticleName*. I attempted to use the UrlRewriter for this but this stopped the valid article links from working. Any help with this would be appreciated.


Re: Calculating a Rolling Average

0
0

From my experience you can do this with the "PREVGROUPVAL" and "PARENTGROUPVAL" functions with Custom Summary Formulas.  My example code is below were I used it to calculate a 3 month rolling average for Average Booking Lead Time across a bucketed field.  "BucketField_27501594" is my Product in your case.

 

If  (NOT(Isnull(PREVGROUPVAL(Opportunity.Booking_Lead_Time__c:AVG, Opportunity.Date_of_RFS__c,2))) , (PREVGROUPVAL(Opportunity.Booking_Lead_Time__c:AVG, Opportunity.Date_of_RFS__c,2) + PREVGROUPVAL(Opportunity.Booking_Lead_Time__c:AVG, Opportunity.Date_of_RFS__c,1) + PARENTGROUPVAL(Opportunity.Booking_Lead_Time__c:AVG, BucketField_27501594, Opportunity.Date_of_RFS__c)) / 3, PARENTGROUPVAL(Opportunity.Concession_2_Rate__c:AVG, BucketField_95927130, Opportunity.QuotedDate__c)

)

 

Hope this help, it basically adds up the previous 2 months values and current and divides by 3 to display on that current month.

Hi can u any tell me how to prepare SFDC subject(My own Preparation)

0
0

 

Hi i idi Java but i m intrested to convert SFDC ...can u any tell me how to prepare SFDC subject(My own Preparation)...please i need ur suggestions please help me and send documents about SFDC for preparstion.. my mail id is:manju4naidu@gmail.com

 

 

Thanks & regards,

Munna4Manju

 

Limitation of Inline Account Hierarchy from Salesforce lab

0
0

Hi, I recently installed inline Account Hierarchy app from Salesforce lab and I am having trouble in viewing the hierarchy for a large account. The error is as follows:

Content cannot be displayed: Collection size 1,624 exceeds maximum size of 1,000.

 

Please let me know how to address this issue so that the complete hierarchy is fetched.

 

Thanks,

Need help with Force.com Toolkit for Google Analytics

0
0

Installed  'Force.com Toolkit for Google Analytics' from the Force.com Code Share

 

However, no data  is getting imported from Google Analytics

 

Please Help

 

 

Re: Hi can u any tell me how to prepare SFDC subject(My own Preparation)

0
0

You can create free account in login.salesforce.com. Start explore. Join in Linkedin Sales force Admin group, you will get lot of links.


Munna4manju wrote:

 

Hi i idi Java but i m intrested to convert SFDC ...can u any tell me how to prepare SFDC subject(My own Preparation)...please i need ur suggestions please help me and send documents about SFDC for preparstion.. my mail id is:manju4naidu@gmail.com

 

 

Thanks & regards,

Munna4Manju

 


 

Re: Chatter SmartFollow Error after installation

Re: Unable to install Chatter SmartFollow

0
0

Class.chatterFollowBatchCaller.testchatterFollowBatchCaller: line 176, column 1

 

This error is still an issue in SmartFollow 2.9.0. We have disabled all our user validation rules and the assert on line 176 still fails.


Re: Unable to install Chatter SmartFollow

0
0

09:41:10.951 (2951394000)|CODE_UNIT_STARTED|[EXTERNAL]|01pM00000000yP0|chatterFollowListBatch
09:41:10.960 (2960773000)|SOQL_EXECUTE_BEGIN|[6]|Aggregations:0|select Id,ManagerId,Manager.ManagerId,Manager.Manager.ManagerId,Manager.Manager.Manager.ManagerId,UserRoleId,ProfileId,Department,Division from User
09:41:11.067 (3067488000)|SOQL_EXECUTE_END|[6]|Rows:739
09:41:11.069 (3069171000)|EXCEPTION_THROWN|[EXTERNAL]|System.Exception: No more than one executeBatch can be called from within a testmethod.  Please make sure the iterable returned from your start method matches the batch size, resulting in one executeBatch invocation.
09:41:11.090 (3090923000)|FATAL_ERROR|System.Exception: No more than one executeBatch can be called from within a testmethod.  Please make sure the iterable returned from your start method matches the batch size, resulting in one executeBatch invocation.

 

Looks like the developer only tested this App in orgs with less than 200 users.

 

They need to add the following:

if (Test.isRunningTest() chatterBatch.query += ' LIMIT 200'; 

to line 110 of chatterFollowBatchCaller.cls

 

How to get a fix?

Re: Uninstall Milestones PM (Unmanaged)

0
0

I've had the same issues before, wish I could help.

 

Jason Lewin

jason@3dglassesonline.com

Milestones PM Cloning Records

0
0

I have a customer using Milestones PM.  They have a Salesforce Platform User that is the owner of a Project records and they can't use the clone button as it says they have insufficient privledges.  The profile gives them full access to this object.  Is there something else that needs to be set?

 

Thanks!

Re: Milestones PM Cloning Records

0
0

Interesting.  Fair to assume they also have rights to the child objects?

Any chance the object is modified to include a reference to, for example, an opportunity object?

Survey Force involved with Sandbox (s)

0
0

My question is if you create a survey in sandbox, obtain the URL link, will it work? Meaning, will the link be active?

Viewing all 195 articles
Browse latest View live




Latest Images