Skip to main content
Question

Editin Button working in a report but not working from same report in a Dashboard


Forum|alt.badge.img+6

access issue when editing a record with a button from a report within a Dashboard: 

<qdbapi>
<action>API_EditRecord</action>
<errcode>3</errcode>
<errtext>Insufficient permissions</errtext>
<errdetail>You don't have permission to access that page.</errdetail>
<username>ilya@maximind.ca</username>
</qdbapi>
However no access issue when clicking the same button in the native report (not from the Dashboard):
Testing as a specific so user get the expected error upon clicking the button:
<qdbapi>
<action>API_EditRecord</action>
<errcode>2</errcode>
<errtext>Invalid input</errtext>
<errdetail>ILYA BAM can edit data but you're testing as that user, so your change wasn't saved</errdetail>
<rid>4295</rid>
<num_fields_changed>0</num_fields_changed>
<update_id/>
</qdbapi>
Any idea why user can't edit the records within the dashboard?


------------------------------
George Bramhall
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9

In your first example - are you confirming that if the original user (ilya) clicks it anywhere but the dashboard it works? 

Your second error is unrelated and simply a security matter that you can't update info while testing as another user. That is expected. 

If you test as that user - can you go to the record that you're clicking the button on and just 'edit' it natively? As in - instead of clicking the button - can you click the pencil on the row to enter into the Edit Form?



------------------------------
Chayce Duncan
------------------------------