How to pass values from one page to another page

Hello all,

I want to pass the values from one page to another page as a parameter, Please help me

Thanks and regards



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/_fOf-lhT8AsJ.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

hello Madhukar,


Use DocType Mapper
In Top Panel->Document->DocType Mapper

-Mitesh



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Hi Madhukar,

Please tell us the scenario so that we could guide you.

What are you trying to achieve? Please elaborate.

Thanks,
Anand.

On Mon, Jun 18, 2012 at 11:37 AM, Mitesh Chudasama
mi...@gmail.com wrote:

hello Madhukar,

Use DocType Mapper
In Top Panel->Document->DocType Mapper

-Mitesh


You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To post to this group, send email to
er...@googlegroups.com.
To unsubscribe from this group, send email to
erpnext-developer-forum+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

Hi,

Anand thanks for your reply,

Dear Anand,

I have created page where i have select drop down for selecting financial year, I want send the selected financial year as parameter to other page which will display content for selected financial year.


Mitesh has suggested me to use Doctype Mapper, But i m not aware of that,

and please send me the link if any for online documentation for the same

On Mon, Jun 18, 2012 at 12:04 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Hi Madhukar,

Please tell us the scenario so that we could guide you.

What are you trying to achieve? Please elaborate.

Thanks,
Anand.

On Mon, Jun 18, 2012 at 11:37 AM, Mitesh Chudasama
<mi...@gmail.com> wrote:
> hello Madhukar,
>
> Use DocType Mapper
> In Top Panel->Document->DocType Mapper
>
> -Mitesh
>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To post to this group, send email to
> er...@googlegroups.com.
> To unsubscribe from this group, send email to
> erpnext-developer-forum+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.




--
Thanks and Regards,
Madhukar S Bansode
New Indictrans technologies PVT.LTD.
Cell No.+91-7709199414
www.indictranstech.com


DECLAIMER
This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/ to know more about New Indictrans Technologies Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this emai l saying "Remove e-mail ID". Within two working days your ID will be removed.



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

Madhukar,

There are atleast 2 ways to do this.

1. Tight coupling: Open the page via script using `loadpage` and call whichever function you want on the new page, in the callback method of loadpage.
2. Loose coupling: Make a routing scheme. call your page via url using mysite#mypage/parameter1/parameter2

and on the onload method of that page, extract your parameters from the url hash (`window.location.hash`)

Option 2 is usually the better choice!

- Rushabh



-----------------------------------------------------
ERPNext - Business Operating System

W: https://erpnext.com
T: @rushabh_mehta

On 18-Jun-2012, at 12:10 PM, Madhukar Bansode wrote:

Hi,

Anand thanks for your reply,

Dear Anand,

I have created page where i have select drop down for selecting financial year, I want send the selected financial year as parameter to other page which will display content for selected financial year.

Mitesh has suggested me to use Doctype Mapper, But i m not aware of that,

and please send me the link if any for online documentation for the same

On Mon, Jun 18, 2012 at 12:04 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Madhukar,

Please tell us the scenario so that we could guide you.

What are you trying to achieve? Please elaborate.

Thanks,
Anand.

On Mon, Jun 18, 2012 at 11:37 AM, Mitesh Chudasama
<mi...@gmail.com> wrote:
> hello Madhukar,
>
> Use DocType Mapper
> In Top Panel->Document->DocType Mapper
>
> -Mitesh
>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To post to this group, send email to
> er...@googlegroups.com.
> To unsubscribe from this group, send email to
> erpnext-developer-forum+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to er...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.




--
Thanks and Regards,
Madhukar S Bansode
New Indictrans technologies PVT.LTD.
Cell No.+91-7709199414
www.indictranstech.com


DECLAIMER
This e-mail has arrived in your e-mail Inbox from  New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/  to know more about New Indictrans Technologies Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this emai l saying "Remove e-mail ID". Within two working days your ID will be removed.




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/erpnext-developer-forum?hl=en.

1 Like