You need to sign in to do that
Don't have an account?
SirishaM
Record Id problem
Hi,
I created a button with different name for "New Note" under the Notes and Attachments section. My problem is
In the action method for the button when I copy the parent_id using
secondPage.getParameters().put('parent_id',exmsub.Id);
--it copies 18 bit record id an displays the "Data not available " error
but if I remove the last 3 bits of the record-id manually , it displays the page properly.
How do I supply only 15 bit record id for the record I am displaying.
This problem did not arise when I was renaming the Attach File button.
Can anybody tell me where I am going wrong?
Thanks,
Sirisha
I created a button with different name for "New Note" under the Notes and Attachments section. My problem is
In the action method for the button when I copy the parent_id using
secondPage.getParameters().put('parent_id',exmsub.Id);
--it copies 18 bit record id an displays the "Data not available " error
but if I remove the last 3 bits of the record-id manually , it displays the page properly.
How do I supply only 15 bit record id for the record I am displaying.
This problem did not arise when I was renaming the Attach File button.
Can anybody tell me where I am going wrong?
Thanks,
Sirisha
I could extract the substring but when it is added to the URL it agin displays the 18 character one ..I dont know how that is happening
Does the id gets changed to 18 character one when added to URL ?
Sirisha
I am still having this problem. I tried shortening as well using substring, but it goes back to being 18 once it is placed into a id variable again...