-
1. Re: what am i doing wrong with data source?
Liam Dilley Aug 10, 2012 7:45 PM (in response to kenneth_rapp)Hi Kenneth,
The current version of web apps does not work like that.
When you define a data store all that does is provide a link to the other web app item you associate it with. You can not put tags you built from one web app in another.The Data source output which is a hyperlink is the only thing you have.
-
2. Re: what am i doing wrong with data source?
kenneth_rapp Aug 10, 2012 8:02 PM (in response to Liam Dilley)No of course it wouldn't work like that because that would be efficient and useful unlike whatever javascript hack I'm going to have to figure out to make it kind of work like that.
I don't suppose making it work like that is in the cards for a future release?
LiamDilley wrote:
Hi Kenneth,
The current version of web apps does not work like that.
When you define a data store all that does is provide a link to the other web app item you associate it with. You can not put tags you built from one web app in another.The Data source output which is a hyperlink is the only thing you have.
-
3. Re: what am i doing wrong with data source?
Liam Dilley Aug 10, 2012 8:24 PM (in response to kenneth_rapp)Check the BC Blog Roadmap Post.
-
4. Re: what am i doing wrong with data source?
kenneth_rapp Aug 10, 2012 9:04 PM (in response to Liam Dilley)Alright. I just replicated all the fields I needed into the other web app. All I can do I guess.
-
5. Re: what am i doing wrong with data source?
palvanov Aug 7, 2013 2:52 PM (in response to kenneth_rapp)For whoever is looking for a solution to this...
If you are trying to figure out how to use "Data Source" fields to show more
than just a simple link from one Web App to another Web App, see below.
This might save you hours of looking around.
Using Kenneths example (from above), you should do this:
1) Inside Web App called "StoreGallery", create a "Data Source" field named "StoreLocation"
2) In the "Detail Template" layout of the Web App "StoreGallery", insert this code: {module_webapps,123,i,{tag_StoreLocation_id}}
3) Make sure to replace "123" above with the ID of Web App "Locations"
4) In 'List Template' layout of "Locations" app, customize which details you'd like to show for each location
(ie {location_street_address}, {location_phone_number}. etc.)
Cheers!
A
-
6. Re: what am i doing wrong with data source?
toty montana Jan 28, 2014 1:29 AM (in response to palvanov)Hi All.
I have issue with Similar above article.
I have create 2 Web APP the idea I want Multiple Promotion can add to a hotel,
1- Hotels App (Name, Description)
2- Promotion App (Promo_Name, Description, Hotel_name "using data source field from App1")After I finish all field above,
- I have added items to App1(hotel1,Hotel2)
- I have added items to App2(promo1 for hotel1,promo2 forhotel1, and promo3 for hotel2).Front End
So can show all hotels list for app1
And I can show promotions list for app2 with association link to hotel detail directly from the promotion detail,
so in the hotel detail I would like to show all the promotion which belong to it's,
Ex: hotel1 have promo1 and promo2, and hotel2 have promo3 so i use this tag {module_webapps,34898,i,{tag_itemid}} in hotels layout detail
but it not working, it shown me only one item with error promotions tagWhen i use this tag it work {module_webapps,34898,a} but i don't want all,
please help
TY -
7. Re: what am i doing wrong with data source?
jeffusu Jul 23, 2014 1:12 PM (in response to palvanov)Palvanov,
Thank you so much for posting this. Finding this is a dream come true.
Much thanks,
Jeff



