Idea Component Salesforce Lightning
Hi All, hope you are doing great and enjoying salesforce. Here in this post, I will post the Idea Object for Lightning Environment that is completely developed by using custom Lighting Component. I found that Idea Object is not available for Lightning Environment and many customers are using the idea Object they are not able to use the same if they are working with Lighting. If they wanted to use then they need to switch back to classic. It is still an Idea. So, I decided to develop the custom idea object which will help many people and also clear the concept of Lighting Development.
As I already developed the component with the required functionality so I will explain which component is responsible for which functionality. So that any developer can change as per their requirement.
Below is the list of Component used in the Idea Object for Lighting with their description: –
1 – IdeaComponent: – The heart of the Idea Object which is responsible for showing all the Ideas in a single page and User can also post the new Idea from this component as well. This is the alternative to Idea Tab of Salesforce Classic.
2 – ViewIdea.component: – Second important component is “ViewIdea” which is responsible for showing the Idea details with the comment that have been made for that Idea. Using this component user can Edit the Idea, Post Comment, Edit and Delete the Comment.
3 – CreateIdea.component: – Another component which is responsible for creating the Idea.
4 – EditIdea.component: – Component responsible for Editing and deleting the existing Idea.
5 – EditIdeaComment.component : – The component which responsible updating the comment related to an Idea and deleting the existing the comment.
You can install the unmanaged package from Here.
You can also get the Code from my Github Repo.
See the below Video for the complete working of the Component.
Thanks for reading 🙂
Sharing is Caring 🙂
Hi Amit,
Where is the test code? I was hoping to deploy this directly to a new org’s production instance (for a client – I’m a consultant) but it failed due to code coverage. Do you plan on adding this in the future?
Best,
Eli
Hi Eli,
Yes. I am working on the Same. Will update soon with test class as well.
Hi,
Find the below link with the test and some new features as well
https://github.com/amitastreait/Idea-Object-For-Lightning-Environment-V2
Hello Amit,
Install was easy enough. I did have to turn the tab on at the profile level and make sure to add it to my apps.
However during testing I received some errors in regards to the Description Variable. Is it possibility this is a standard field that is no longer part of the ideas object or custom to your org?
I also am unable to remove these components as they are self referencing as you try and delete one. I was able to delete the tab though; to hide from my UAT Users.
Please know I am only providing feedback as this is a slick workaround you have come up with just some minor adjustments and test classes for code coverage and deployment.
Thank you very much and I look forward to your enhancements.
Grant
Hi Grant,
Thanks for the feedback. Sure, I will make those changes.
I am getting an error when i try to install the unmanaged package.
We can’t authorize you because of an OAuth error. For more information, contact your Salesforce administrator.
1800 : There was a problem in setting up your remote access
Is this something you could help with?
Thanks!
Hi,
Yes for sure. Could you please try to install again and see same error persists
Hey , I need one help???
Yes. Please
Hi, This was very helpful. I got a similar requirement with additional features. I have written classes and all are 90% above code coverage. If u need .then u can reply me here
Hi Aashvi,
If you can share the code here with me then it will be good as many people will get help by you 🙂
Regards,
SFDCPanther
Thank you so much for the work around. It’s great and will meet business requirements nicely.
Can you please share the test classes as well? Thanks
Hi Tony,
Please find the below link of the GitHub Repo with the Test class and New Features as well
https://github.com/amitastreait/Idea-Object-For-Lightning-Environment-V2
Thank you so much. Greatly appreciated
Wishing you great karma!
Hi Amit,
i go the similar req for the IDEA Object but it was in LWC, I need (1 – IdeaComponent) in LWC, can you help me out here? please
I do not have the code for LWC
Hello Amit.
First of all THANK YOU! for doing this and providing unmanaged pkg.
I did look at your demo looks great but I did not see how a user can vote up/down an idea.
Do you have that implemented for Ideas in Lightning or is it still pending?
Regards,
Navaid
Hi Navaid,
The functionality is there. The user who creates the Idea already gets upvoted. That is why you might not see it in the demo. You can check with other user