Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Josip 195 posts 662 karma points c-trib
    May 06, 2020 @ 20:23
    Josip
    0

    Content manipulation between applications

    Hi all,

    Is it possible to manipulate the content from www.example1.com on second application www.example2.com?

    This applications are completly separated.

    Help please :)

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 06, 2020 @ 20:50
    Alex Skrypnyk
    0

    Hi Josin

    No, you can't

    It would be huge security issue if possible :) You need some kind of connection between sites and some kind of actions to make changes.

    Thanks,

    Alex

  • Josip 195 posts 662 karma points c-trib
    May 07, 2020 @ 10:08
    Josip
    0

    Hi Alex,

    What I wanted to do is when member creating account on website1 to check if account with that username exist on website2 if not than create it.

    Is there any way to achieve it?

    BR

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 07, 2020 @ 10:30
    Alex Skrypnyk
    0

    Hi Josip,

    You can create a combination of events and API. Just call website2 API methods in the member creation event of a website1.

    Thanks,

    Alex

  • Josip 195 posts 662 karma points c-trib
    May 07, 2020 @ 10:55
    Josip
    0

    I was thinkig about it, do you know where I should look for some example? I tried to find something to start with but I am not sure what I am looking for.

    BR

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    May 07, 2020 @ 11:07
    Alex Skrypnyk
    0

    I can't find docs page for MEmber Events, but this is how to subscribe to the event - https://our.umbraco.com/documentation/getting-started/Code/Subscribing-To-Events/

    About events in general - https://our.umbraco.com/documentation/Reference/Events/

    How to create an API controller in Umbraco - https://our.umbraco.com/documentation/reference/routing/webapi/

  • Josip 195 posts 662 karma points c-trib
    May 07, 2020 @ 11:57
    Josip
    0

    Okay, thank you Alex, so API controller is way to go. With events I was working before so I am familiar with it, the only unkown area for mi is comunication between 2 separated applications

    BR

    Josip

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies