Loading...

RE: qListForm: The ID HTTP parameter is required

RE: qListForm: The ID HTTP parameter is required

Home Forums QuickApps Forum qListForm: The ID HTTP parameter is required RE: qListForm: The ID HTTP parameter is required

#7059
Anonymous
Anonymous
Participant

Hi,

n

 

n

The only way to keep the URL with the ID parameter I can see is to use some JavaScript to do it.

n

 

n

    n

  1. Add a HTML Form Web Part into the page;
  2. n

  3. Write below JavaScript in the Source Editor:
  4. n

n

<script>

n

var url = window.location;

n

if(url.toString().indexOf('ID') == -1)

n

{

n

   if(url.toString().indexOf('?') == -1)

n

   {

n

     window.location.href = url+'?ID=4';//the ID value is 4

n

   }

n

   else{

n

       window.location.href = url+'&ID=4'; //the ID value is 4

n

   }

n

}

n

</script>

n

This script is to detect the URL, if doesn’t contains ID parameter, then add it and refresh the page. the ID value is hardcode to 4 here, you can modify it according to your business scenario.

n

 

n