function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zeezackisbackzeezackisback 

Timer modification - URGENT request

I am trying to modify the timer, by making it more automatic...trying to get it to work on a new table...so instead of case, its claims.

 

I would like it to be able to pull out the claim id it is on.

 

I've tried doing this, but its coming up as false.. how do I get the id of the page its on?

 

 

<script language="javascript" type="text/javascript"> // initialize and set global variables var isClaim = new Boolean( "{!$Request.eid}" == "{!Claim__c.Id}" ); // see what tab we are called from function validId(id) { return ("{!$Request.eid}" != null && "{!$Request.eid}" != "" && "{!$Request.eid}" === id); } function _WhatId() { if (isClaim == true) return "{!Claim__c.Id}"; return null; } var WhatId = _WhatId(); alert(isClaim); alert(WhatId); </script>

 

Does anyone know more information about this case timer... has anyone modified it before?

 

http://sites.force.com/appexchange/listingDetail?listingId=a0N300000016c2LEAQ