Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Ok … Thanks Rushabh… I will try and let u know if i need any help
Thanks a lot
On Tue, Nov 27, 2012 at 10:56 AM, Rushabh Mehta <rm…@gmail.com> wrote:
Arun,
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Is there any option to stop loading a particular doctype from cache… ie whenever i request for a particular doctype it should be loaded from cache… And it should execute cur_frm.cscript.onload??
Thanks
Arun
On Tue, Nov 27, 2012 at 11:01 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Ok .. Thanks Rushabh.. I will try and let u know if i need any help
Thanks a lot
On Tue, Nov 27, 2012 at 10:56 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Arun,
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Tue, Nov 27, 2012 at 11:34 AM, Arun Emmanuel <ar…@gmail.com> wrote:
HI Rushabh
Is there any option to stop loading a particular doctype from cache… ie whenever i request for a particular doctype it should not be loaded from cache… And it should execute cur_frm.cscript.onload??
Thanks
Arun
On Tue, Nov 27, 2012 at 11:01 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Ok .. Thanks Rushabh.. I will try and let u know if i need any help
Thanks a lot
On Tue, Nov 27, 2012 at 10:56 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Arun,
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On 27-Nov-2012, at 11:34 AM, Arun Emmanuel <ar...@gmail.com> wrote:
On Tue, Nov 27, 2012 at 11:34 AM, Arun Emmanuel <ar...@gmail.com> wrote:
HI Rushabh
Is there any option to stop loading a particular doctype from cache.. ie whenever i request for a particular doctype it should not be loaded from cache.. And it should execute cur_frm.cscript.onload??
Thanks
Arun
On Tue, Nov 27, 2012 at 11:01 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Ok .. Thanks Rushabh.. I will try and let u know if i need any help
Thanks a lot
On Tue, Nov 27, 2012 at 10:56 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Arun,
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a “virtual” Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
What i am planning to do is every time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from the second time onward its not calling the onload function
Thanks Arun
On Tue, Nov 27, 2012 at 11:46 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Arun, why would you want to do this?
Sent from mobile
On 27-Nov-2012, at 11:34 AM, Arun Emmanuel <ar...@gmail.com> wrote:
On Tue, Nov 27, 2012 at 11:34 AM, Arun Emmanuel <ar...@gmail.com> wrote:
HI Rushabh
Is there any option to stop loading a particular doctype from cache… ie whenever i request for a particular doctype it should not be loaded from cache… And it should execute cur_frm.cscript.onload??
Thanks
Arun
On Tue, Nov 27, 2012 at 11:01 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Ok .. Thanks Rushabh.. I will try and let u know if i need any help
Thanks a lot
On Tue, Nov 27, 2012 at 10:56 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Arun,
You have to set "match" permissions in the Permission Manager - The field must be a Link field though.
best,
Rushabh
On Tue, Nov 27, 2012 at 10:45 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks Rushabh for your help. Its working fine now
I have one more doubt. Is there any way to restrict the access based on some user names??
Now we can restrict the access based on their user roles.
For ex i have 2 managers .Both have the role Manager. But what i want to implement is that they can access docs in which they are part
ie while creating the data there is a field called manager . So only those manager can access that record where user name matches with the manager name.
On Tue, Nov 27, 2012 at 10:34 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Yes there is window.location in js.
In wnframework you can also use wn.route(page_name) to open a "virtual" Page.
best,
Rushabh
On Mon, Nov 26, 2012 at 7:09 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi
How can i redirect into some pages based on some conditions?
Is there something like "window.location" in Js available so that i can redirect to some other pages based on certain conditions
Thanks
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
Thanks a lot Rushabh… It works as per my requirement
Sorry … I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
On Tue, Nov 27, 2012 at 12:01 PM, Rushabh Mehta <rm…@gmail.com> wrote:
Cool - happy to help you.
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
Is there any function to close the window using java script… Something similar to window.close()??
Thanks
Arun
On Tue, Nov 27, 2012 at 12:03 PM, Arun Emmanuel <ar…@gmail.com> wrote:
Sure..
On Tue, Nov 27, 2012 at 12:01 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Cool - happy to help you.
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something :)
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
On Tue, Nov 27, 2012 at 12:31 PM, Arun Emmanuel <ar…@gmail.com> wrote:
Hi Rushabh
Is there any function to close the window using java script.. Something similar to window.close()??
Thanks
Arun
On Tue, Nov 27, 2012 at 12:03 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Sure..
On Tue, Nov 27, 2012 at 12:01 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Cool - happy to help you.
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something :)
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
What exactly are you trying to do? Please explain the scenario.
window.close will close the browser's tab.
Close button in erpnext's forms/pages just calls window.history.back
Thanks,
Anand.
On 27-Nov-2012, at 12:33 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Or any function to stop loading the page??
Thanks
On Tue, Nov 27, 2012 at 12:31 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi Rushabh
Is there any function to close the window using java script.. Something similar to window.close()??
Thanks
Arun
On Tue, Nov 27, 2012 at 12:03 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Sure..
On Tue, Nov 27, 2012 at 12:01 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Cool - happy to help you.
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something :)
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from
I think window.history.back will satisfy my requirement
Thanks
On Tue, Nov 27, 2012 at 12:38 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Arun,
What exactly are you trying to do? Please explain the scenario.
window.close will close the browser's tab.
Close button in erpnext's forms/pages just calls window.history.back
Thanks,
Anand.
On 27-Nov-2012, at 12:33 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Or any function to stop loading the page??
Thanks
On Tue, Nov 27, 2012 at 12:31 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Hi Rushabh
Is there any function to close the window using java script.. Something similar to window.close()??
Thanks
Arun
On Tue, Nov 27, 2012 at 12:03 PM, Arun Emmanuel <ar...@gmail.com> wrote:
Sure..
On Tue, Nov 27, 2012 at 12:01 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Cool - happy to help you.
Please feel free to update the wiki documentation in GitHub.
Also will be really nice if you can also document your process on a blog or something :)
best,
Rushabh
On Tue, Nov 27, 2012 at 11:56 AM, Arun Emmanuel <ar...@gmail.com> wrote:
Thanks a lot Rushabh.. It works as per my requirement
Sorry .. I am new to your framework , tats why lots of doubt.But so excited to start develop app using your wnframework
Thanks for your help and excepting your cooperation in future
Thanks
Arun
On Tue, Nov 27, 2012 at 11:52 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Use the cur_frm.cscript.refresh function - it is called every time a form is shown.
On Tue, Nov 27, 2012 at 11:50 AM, Arun Emmanuel <ar...@gmail.com> wrote:
time i load a particular doctype i ll call the onload function and check whether the logged in user can access the data or not. If he is restricted i have to redirect it to some other pages.
If i load the page for the first time this logic will work.. But from