Firstly Iâd just like to say thank you to everyone involved in the SuiteCRM project. I started using this as the managers of the company I work for decided they wanted a CRM system. I suggested taking a look at this and since that time (although it is only in development) they are very pleased with the progress of the system and the look and feel of it, and are very impressed with what you get for the price! On a more personal note I find the whole admin side fantastic, features are brilliant and the support/development on the forums seems excellent, so please, keep up the great work.
But to the issue, I have searched around and canât find anything on thisâŚ
I need to create a Dynamic Dropdown list using the sales_stage as itâs parent. In short they want a if marked âClosed Lostâ , why reason dropdown?
Following the guides on this site I have successfully made a dropdown dependent list which works to a degree. If I select âProspectingâ or âQualificationâ it successfully populates the child dropdownâŚhoweverâŚI donât seem to be able to get it to populate when selecting âClosed Lostâ or âClosed Wonâ.
From digging I notice that the Item Name of âClosed Lostâ has a space in the middle, but you canât enter spaces on Item Names on the child dropdown list. Iâve tried using Lost_, Closed_Lost , Closed%Lost_, ClosedLost_, âClosed Lost_â all to no avail.
Any ideas or is there something silly that Iâm missing?
Couple of screenshots attached. As you can see the sales_stage now shows âClosedLostâ as a selection. I removed the space from the language file in custom/include/language folder which now allows me to use the child dropdown correctly. This did mean however I had to add ClosedLost in the sales_probability_dom dropdown so that the % filed still worked correctly, not a problem.
But you can still see from the grabs that âClosed Wonâ still has the space, which means you canât use a dynamic dropdown on this selection (or at least I canât figure it out!).
For now the above workaround is fully functional, may be worth removing the spaces in the future so dynamic dropdowns can work correctly.
This issue is because the Dynamic Dropdown requires a certain format. ( [PARENT ITEM NAME]_[CHILD ITEM NAME] )
And, if your Dynamic Dropdown values donât match this format, then they donât show as options.
As you are unable to enter Spaces in an Item name via Studio, You wonât be able to get an exact match in your Parent Item name.
(I.e, You wonât be able to enter âClosed Won_[ItemName]â, however, you can enter "ClosedLost_[ItemName], so the Latter of the two will work. )
So, two ways to work around this would be:
-Do as you have mentioned, (Rename the value in the Custom Language file, and update it in the sales_probability_dom),
-Or create a new Custom Sales Stage field, and update the sales_probability_dom.
Be careful if you rename the names (keys) of your list items because, if you have already used them in some record, you will lose the information: the database will keep the old value for those previously filled records. This can be solved via database queries or, possibly, via a workflow.
I know this is an old thread, but just had the exact same situation and think I found a better solution. The issue is the default âClosed Lostâ in the Sales Stage dropdown. If youâre trying to enter a dynamic dropdown like âLost Reasonâ you canât enter a field value for a dropdown item like âClosed Lost_priceâ (ie: lost on price).
So, enter it as âClosed_Lost_priceâ for the list value. Then, go to /custom/include/language/eng_us.lang.php and change the value from âClosed_Lost_âŚ.â to âClosed Lost_