You need to sign in to do that
Don't have an account?
arun kumar 577
Hi guys i have urgent requirement on number of views field when custom url field is click
Hi guys,
i have requirement like this..
for example i have two fileds in my system. one is Number of views and pdfURL.
i have added one url link to pdfURL. when i am going to click that url field i need to display number of views field is 1
if i will going to click 10 times that link value number of views field should be 10.
Please help me on this urgent.
thanks advacne
i have requirement like this..
for example i have two fileds in my system. one is Number of views and pdfURL.
i have added one url link to pdfURL. when i am going to click that url field i need to display number of views field is 1
if i will going to click 10 times that link value number of views field should be 10.
Please help me on this urgent.
thanks advacne
Before going on the pdfURL page go to a temproray visualforce page and have javascript/controller method to update the record with Number of Views +1. To go on the temp VF Page you can write a trigger as below:
And then the code for the tempVFPage can query the record check if it has any number of views and if yes then increase that with 1, the code of this tempVFPage could be something like :
my object name is customer
how can i update number of views field when i click url field in record detail page.
thanks advacne