You need to sign in to do that
Don't have an account?
Static resources on Tasks???
Does anyone else uses static resources on Task?
This functionality was deployed before I joined the company, so now I try and wrap my head around it.
How it currently works: Now VF Pages are used, the New Task button is Standard and has not been overwritten. When I create a new task and choose record type I see a normal edit window for tasks. But, where is a field called "Sales Activity Type", and if it is set to "Won" or "Won - Renwal", Comments field gets pre-populated with a template. I do not have to save the task to see pre-populated text. As soon as I pick "Won" from the list, it appears right away. Reminds me of JS behavior, but again it does not appear to me that VF Pages are used.
I know exactly where this template is stored (in Static Resources) and its name, but I am trying to locate where this call is being made.
This functionality was deployed before I joined the company, so now I try and wrap my head around it.
How it currently works: Now VF Pages are used, the New Task button is Standard and has not been overwritten. When I create a new task and choose record type I see a normal edit window for tasks. But, where is a field called "Sales Activity Type", and if it is set to "Won" or "Won - Renwal", Comments field gets pre-populated with a template. I do not have to save the task to see pre-populated text. As soon as I pick "Won" from the list, it appears right away. Reminds me of JS behavior, but again it does not appear to me that VF Pages are used.
I know exactly where this template is stored (in Static Resources) and its name, but I am trying to locate where this call is being made.
I went through your ORG configuration and found that the following static resource is used in a java script being called from a home page component which is causing this behavior:
Home page component: Quick Links (view in HTML)
Static resource name:/resource/1368143670000/WinTemplates
Hope this helps!
All Answers
here is a screenshot. To get it I simply clicked on "New" under My Tasks on Home Tab. After selecting Record type I see this window. And this is where the magic happens. As sson as I chose "Won" under Sales Activity Type, the comments section get populated with a template.
I went through your ORG configuration and found that the following static resource is used in a java script being called from a home page component which is causing this behavior:
Home page component: Quick Links (view in HTML)
Static resource name:/resource/1368143670000/WinTemplates
Hope this helps!
Thanks a lot Sonam, I can handle it from this point on.
Just a quick question, how did you know where to look for it? Is there a Document I can read? Or is it just experience?
-Art.
As you mentioned that the update on comment was right after the picklist change, without any commit to database - it had to be a script as it couldn't be a trigger/workflow and the next thing to check were the home components included on the sidebar(as they can include JS) which was the answer to our mistery...