How to pass a value(or Parameter) from one dynamic content block to another dynamic content block?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2014 03:43 AM
Does any one have idea of how to pass value from one dynamic content block to another dynamic content block so that we can make use of that parameter value to perform any kind of action with that parameter value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2014 03:52 AM
Hello,
I was also having similar requirement for one of my client, to achieve this I have done below configurations:
Create different Pages for different dynamic block. For example:
page_1 include dynamic_block1
page_2 include dynamic_block2
To Pass values from page_1 to page_2, I have embedded paramater like /ess/page_2.do?sysparam_p=test
and access the same in dynamic_block2 like below:
RP.getParameterValue('sysparam_p');
Please mark answer as correct/helpful, if it was really helpful 🙂
Regards,
Solutioner
Enhance Knowledge NOW@ www.solutioningnow.com
http://www.solutioningnow.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2014 04:01 AM
solutioner now i have an input field in dynamic_block1 like an input field ( For ex : <input type="text" name="abc" id="abc" /> ) . i want to pass the value of abc to another dynamic content block where i want to use it for some purpose.. how can i do that?? can you please help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2014 04:09 AM
You can achieve using below:
<a href="ess/dynamic_block2.do?sysparam_abc"+gel("abc").value>Page 2</a>
Using above code link is generated with parameter dynamically.
Please mark answer as correct/helpful, if it was really helpful 🙂
Regards,
Solutioner
Enhance Knowledge NOW@ www.solutioningnow.com
http://www.solutioningnow.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2014 04:20 AM
actually the dynamic content block 2 is embedded within another cms page (url suffix : page_2). now within the dynamic content block1 i have written an onclick function which will redirect to page 2 within which the 2nd dynamic content block is embedded and i want to retrieve the parameter value of <input type="text" name="abc" id="abc" /> ) which is embedded in 1st dynamic content block. How can that be achieved?