Timeline for Issue with SetVariable and GetVariable method calls from DWT
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 5, 2013 at 7:03 | vote | accept | AlokBhatt | ||
Sep 5, 2013 at 6:24 | comment | added | Likhan | Indeed as Eric mentioned, that is just how the DWT works inside out. And if this is working then yon won't need those methods anyways. | |
Sep 5, 2013 at 6:10 | vote | accept | AlokBhatt | ||
Sep 5, 2013 at 6:10 | |||||
Sep 5, 2013 at 6:04 | comment | added | AlokBhatt | Hey Likhan. Thanks for your answer. Your suggestion resolved my problem. But problem is also with SetVariable and GetVariable method behaviours. the behaviour of these methods in my code is making these methods of no use. | |
Sep 5, 2013 at 5:43 | comment | added | Likhan | Updated the answer with the component xml and dwt i tried on my system. Which seems to work. Can you share the component Xml? | |
Sep 5, 2013 at 5:42 | comment | added | AlokBhatt | I am doing exactly same what your are doing here. Are you able to fetch episode_number directly. | |
Sep 5, 2013 at 5:38 | history | edited | Likhan | CC BY-SA 3.0 |
added 472 characters in body
|
Sep 5, 2013 at 5:33 | comment | added | Likhan | In my attempt I am using Series schema with episode as multivalued embedded schema with medialink multivalued embedded schema. ** Component <Content xmlns="uuid:01cee2f6-035c-4ced-b225-abde4ceded5e"> <episodes> <episode_number>5</episode_number> <media_links> <Link>Link5.1</Link> </media_links> <media_links> <Link>Link5.2</Link> </media_links> </episodes> <episodes> <episode_number>6</episode_number> <media_links> <Link>Link6.1</Link> </media_links> </episodes> </Content> | |
Sep 5, 2013 at 3:57 | comment | added | AlokBhatt | In episode schema there episode_number field. media_links is an embeddable schema with two fields media_filepath and media_type. While publishing I need a unique asset_id for this media link. that is why I want to prefix Asset_EPS before the episode_mumber in asset_id node. when I am looping for media_link field I am not able to fetch the episode_number directly by using @@episode_number@@ or @@Fields.episode_number@@ or @@Field.episode_number@@ | |
Sep 4, 2013 at 13:15 | history | answered | Likhan | CC BY-SA 3.0 |