I would like to add Members to a specific Team, but I cannot get the Workflow (ie; when Add Member is clicked add member to XYZ Team) I just keep getting errors?
I have a page created team/zyz-team (this is created dynamically from the team name that is entered on the homepage), and this is where I have the Add Team Members field, but like I mentioned I cannot connect the 2 Data Types (Team & Member) and for a Workflow to work correctly?
Can you share the page and workflow you built? It can be via screenshots or a view app link.
Anyway, Iād try first by having a field Member List in the Team thing and then simply adding the Member to that list, and also having a field called āBelongs to what teamā in the Member thing and put the Team there, but I suspect that what youāre wanting to achieve is more complex than that.
Based on what Iām looking at, it looks like youāre trying to set things to āCurrent Pageās Team,ā but the Current Page does not have a Team assigned anywhere. Thatās likely why nothing is happening. At some point on page load, youāll need to set the Page data as a team.
Well, Iām not sure based on how you set it up. You might be able to use a Page is Loaded event to do that, then a āDisplay Dataā action where you get the team from the URL. I would usually recommend sending the data when the user navigates to the page as part of the āgo to pageā action, but because youāre using the Get Data from URL, not sure the best way to do that.
Iāll answer here now.
So youāll have to change how you send the user to the Team Page. My suggestion was to use āsend data to pageā to send the user to the Team Page, instead of the current way you are doing with the URL.
Iāve set an example in the app, take a look at it. It sends the data of the newly created team to the Team page, and every element there now can draw data from the team page.
Check specifically the workflow that creates a team at the index page.
The issue there is that I canāt automatically go to the Team page when the button is pressed. I need to show the team URL that is already there (ie; mysite.com/team/team-acme). Then the user clicks that link to go to the team page. So your current method will not work
Yes. Sorry have adjusted the view in the DB. Thatās all cool.
But with the āgo to pageā like I mentioned I need to display the link first on the homepage. Itās inside the Group Team Link. I need to have this show first, then a user clicks (or copies) this link to go to the homepage. Currently with the Workflow set on the button the user will not get to see this link?
Yes, the user will not see the link, no need for that. The user will click the ācreate teamā and be immediately sent to the team page. Itās easier for the user.
If you need to show the link you can show the link at the team page.
How could I create, say on the Team page, a button that says āCopy Team URLā that would copy ie; https://mysite.com/team/team-acme which a user could then share with other team members?
I looked everywhere on how to do this, but could not find a solution
You can use the plugin āAir copy to clipboardā for that.
Uhm, I really havenāt touched that part of Bubble yet, so Iām unaware on how to get better links, youāll have to search the forum or open another topic for that.