• Darshan R Chhajed
  • NEWBIE
  • 40 Points
  • Member since 2015
  • Software Engineer


  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
I had a great experience where I created many visualforce pages, components and classes.

Now I want other salesforce to use those and I understand that the best way would be to create a managed package with test cases and then upload to app exchange.

But I don't want to create test cases because only my friend and some other developers will be using this package. I can directly communicate with them. solve error directly or help them with setup.

Is there any way I can bundle my code together, actions, classes, components and VF pages and send a link of github repo or some link where they can download and install my created package and get all the items in one go.

I want something that is just a little more handy than writing test cases, going through security review and then creating a managed package and uploading in app exchange.

Any help will be greatly appreciated.
Hi All,
I have enabled Collaborative forecasting with Enterprise Territory Management. I have created a sample Model as well. I can see grouping based on Territory when I switch to Lightning experience but I am not able to see the same thing in Classic?

Any particular reason for this?
Hello.
 
In a Paradot drip program, I want to remove a prospect based on the field value of the prospect from a list. How can I add If a condition in drip program and access the fields of prospect?
Is it possible?
Could someone please explain how the .split method works in a String?

I am facing this line in a code:
String domain = myContact.Email.split('@').get(1);
I believe it is trying to capture the domain of an email address (and assign it to the variable domain), so if the email address is, for example: firstName.LastName@salesforce.com, the above line of code is probably capturing the domain 'salesforce.com' and assigns it to the variable.

But how does it do it? How does this .split method works= I do not understand this bit: .split('@').get(1);

When looking at Salesforce String methods here: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_string.htm , and searching by .split, I find the following method/description:

User-added image
so, even if I do not understand how could this method possibly return a "list", I sort of guess that it returns a substring that is terminated by a regular expression that, in my line of code would be '@' ? But, this does not make sense in my line of code as the substring in it that terminates with '@' would in fact be firstName.LastName (not salesforce.com). 

Also, what is the .get(1) doing in this line of code?

Thank you very much.
I had a great experience where I created many visualforce pages, components and classes.

Now I want other salesforce to use those and I understand that the best way would be to create a managed package with test cases and then upload to app exchange.

But I don't want to create test cases because only my friend and some other developers will be using this package. I can directly communicate with them. solve error directly or help them with setup.

Is there any way I can bundle my code together, actions, classes, components and VF pages and send a link of github repo or some link where they can download and install my created package and get all the items in one go.

I want something that is just a little more handy than writing test cases, going through security review and then creating a managed package and uploading in app exchange.

Any help will be greatly appreciated.