EskoAftercareCOE / esko-SC-scripts

Scripts used to workaround ServiceCloud's annoyances
https://tuxfre.github.io/esko-SC-scripts/
MIT License
0 stars 0 forks source link

Feature Request: ServiceCloud Declutter Edit Form for Send to R&D / Send to Licensing #4

Closed andsesko closed 8 years ago

andsesko commented 8 years ago

Esko SC Script issue

Affected script

Name: ServiceCloud Declutter Edit Form

Version: Irrelevant

OS

Name: Irrelevant

Version: Irrelevant

Language: Irrelevant

Browser

Name: Irrelevant

version: Irrelevant

language (if different from OS): Irrelevant

Short summary if your issue: ServiceCloud Declutter Edit Form for Send to R&D / Send to Licensing

Steps to reproduce the issue: -

Other details:

ServiceCloud Declutter Edit Form looks like a nice tool (like all scripts shown :) ). Any chance of extending it 1/ not only for closing (which is obviously the most used "Edit" use case) but also for Send to R&D and Send to Licensing and 2/ Pre-Fill in the Status field ?

I assume the trigger to decide which section to open would require additional buttons, so not sure if that's feasible at all. Ideally, I'd think there would be 3 (4) buttons: 1) Close:

2) Send to R&D

3) Send to Licensing:

(4) Close to Confirm:

Thanks for considering! Kind Regards, Andy

@tuxfre

tuxfre commented 8 years ago

Hi @andsesko,

I'm not sure buttons are possible, but I could "maybe" try to capture the value of the "Status" field screen shot 2016-03-10 at 19 25 03

And fold/unfold sections based on the scenario you suggest.

I'd have to estimate the effort required, I guess I'd need between 0,5 and 1 day, but I need to check in details. Would probably require to rewrite the script using a function to which I'd pass what to hide as arguments.

But that's a nice feature request :+1:

andsesko commented 8 years ago

Hi @tuxfre ,

No problem, I'm just suggesting. Up to you to see if it is feasible/desirable/worth the effort.

Cheers, Andy

tuxfre commented 8 years ago

Hi @andsesko,

I just pushed an updated version (v6) that now checks the value of the "status" field ( screen shot 2016-03-16 at 15 36 27) and folds/unfolds sections depending on that. This means that for example, when you pick "Sent to License", you'll see only the sections "Case Information" and "License Information", all the rest will be folded.

It also comes with an exciting and innovative new feature. When a section is folded, its fold/unfold link will display [+] whereas when it's unfolded the link will display [-].

Let me know if it works and if it somehow answers to your feature request.

Regards,

Benjamin

tuxfre commented 8 years ago

Announcement officially posted, see Declutter updated

andsesko commented 8 years ago

You @tuxfre , Sir, are a star :o)

However one thing I noticed (just had a quick look): when I choose Sent to R&D, it unfolds "Description Information". "Global Support - R&D Information" would suite me better... (FF on Mac). Need to test more, or can you see what's wrong there?

Kind Regards, Andy

tuxfre commented 8 years ago

Hi @andsesko

Indeed, you're 101% right on this. It's a bug, I'm gonna fix this right now. It's intended to work in the way you describe. If I'm luck it's just a copy/paste error, if not, more work will be needed.

Kind regards, Benjamin

tuxfre commented 8 years ago

Hi @andsesko

Should be fixed, right now, by version 7 :wink:

andsesko commented 8 years ago

Hi @tuxfre ,

That looks nice indeed :o) Thanks you!

Will keep an eye on it, will let you know if I would notice anything unexpected (but not expecting any ;o) ).

Kind Regards, Andy

tuxfre commented 8 years ago

@andsesko, I'm sure that if I forgot anything you'll spot it :wink:

if there's no issue before the weekend, we'll just close the issue (we can reopen if needed or create a new ticket)