Forum Discussion

Re: Mobile Redirect to a Report

What type of input are you trying to collect? To be honest I skimmed most of the above - but the most recent comment looks like API button to code page to control the redirect, collect new input then redirect again. 

To your comment above - you could have the code page collect info before it redirects - simple HTML inputs and post that to QB and redirect on success would suffice. Does API_GenAddRecord along with the z param work on mobile? You could perhaps try and have the user add a record into some kind of staging table that they can add data to and redirect with z - then use a webhook or Pipeline to move the data added into the record you actually want. Its quirky but allows you to control the redirect (if z= works in mobile)



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

4 Replies

  • MikeTamoush's avatar
    MikeTamoush
    Qrew Elite

    Chayce - Interesting idea. If I remember, the z param redirect is also buggy on mobile (like everything else). If the GenAddRecord with Z param is pushed when the record is in view mode, the z param return works. When the record is in edit mode, the z param does not work. Ive reported the bug, but of course they dont care....

    I believe the only way right now would be like you said, collect the input with the code page. There is an example code page that does this, but it only allows for one input, and it wont allow for dropdowns etc, just a simple text fill. I think this type of thing would take some signficant work. But still and interesting idea trying to manipulate the z param return....



    ------------------------------
    Mike Tamoush
    ------------------------------
    • ChayceDuncan's avatar
      ChayceDuncan
      Qrew Captain

      If there is an example codepage out there already then it wouldn't be hard to modify. Dropdowns or other inputs are just different HTML tags - I imagine the JS just uses jQuery since it remains universal, and if so then you would just need to add the HTML inputs to collect data and then expand the jQuery to add the additional ids to the api call. Wouldn't be overly taxing. 



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