I want to add a dynamic Visual Composer iview to a Web page composer page. The iview is to display a dataset from a SQL-query based on a URL parameter value. The URL parameter hence needs to be added to the WPC page url.
The value of the parameter needs to be set for the page (or for the article that is published on the page) by the editor of the page.
Now for the case: I am to create a simple "learning solution" with course booking and administration in our portal. I am thinking of creating a course catalog in WPC where the administrators add one course description article per page. The course has a unique course ID that the administrator adds to the article or page somehow...? On the same page there is placed a visual composer iview that displays all the dates that the course in question is held, and also a button per date that triggers a sign up form.
The VC iview queries the course database where each course holds the same course ID as is to be set for the WPC page. For this to happen the iview needs the page parameter described earlier.
Creating the VC iview is no problem - the issue in question is how to integrate it with a WPC page with a page URL parameter.