Skip to Content
avatar image
Former Member

Visual Composer WS

Hi everybody, I´m facing I guess a design issue with a VC model, I need to call a WebService that has a flat structure and three tables, the data comes from different form views, so I investigate and I see that maybe a data bridge will be helpful, the thing is that I can´t found the data bridge connector, unless they are talking about a data source or data share.

I don´t know if I´m complicated the thing, I thought I was doing an easy scenario here, any help will be appreciated.

Here is my model, the service is in the upper right side of the screen.

This is the last step of the VC Model and I´m thinking create a whole WD component only to call this WS

1.jpg (242.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    May 15, 2014 at 05:21 AM

    Hi Isaac Mena,

    In general I think it should be OK to do this from VC, you could:

    - Collect the data from different Forms into one Data Share element.

    - When the relevant event happens pass the data to the Service.

    I'll try to provide an example model picture soon.

    Thank you,

    Udi

    Add comment
    10|10000 characters needed characters exceeded

  • May 15, 2014 at 05:46 AM

    Hi again,

    I hope this little example helps: The flow works this way:

    - the data is entered into Forms in different tabs

    - each data changed in copied into the Data Share (and also presented in a summary Form but this is not a must for the scenario)

    - a button press is triggering the service execution - the exec_service event, so the data is passed from the Data Share to the service.

    In the Layout Board - set the control action to copy data to the Data Share:

    The execution of the event by the button. Note the we listen on the link to the event *exec_service, as this is a "global event listening": The event not coming from the source element of the link.

    Hope this helps,

    Thanks,

    Udi


    1.PNG (34.3 kB)
    2.PNG (16.8 kB)
    3.PNG (13.8 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Isaac Mena,

      I would try to use the steps as in my reply from May 15, 2014 7:46 AM:

      - each data changed in copied into the Data Share using an ASSIGN Action:

      - a button press is triggering the service execution - the "save" event in your case, so the data is passed from the Data Share to the service.

      Note the we listen on the link to the event *exec_service, as this is a "global event listening": The event not coming from the source element of the link, but from another element in the model.

      Hope this helps,

      Thanks,

      Udi

      2.PNG (16.8 kB)
      1.PNG (34.3 kB)