open dialogue window when click on Hyperlink

123 views
Skip to first unread message

mukuly...@gmail.com

unread,
Mar 24, 2017, 4:58:43 AM3/24/17
to Fujitsu RunMyProcess Developer Community
I want to open dialogue window on javascript report. i have edit hyperlink action in report and perform edit functionality in table to each row when user click on hyperlink dialogue window open with row id and populate data so i can update.
so please suggest me how to open dialogue window on hyperlink and its work in simple button click but not work in javascript report hyperlink action.

Abhilash Sambhare

unread,
Mar 24, 2017, 6:38:21 AM3/24/17
to Fujitsu RunMyProcess Developer Community
Hi Mukul,

Good Day.

Can you please share your configuration details of report,so that we can provide proper solution to you.
(Screenshots would be helpful).

Thanks & Regards,
Abhilash
Fujitsu Runmyprocess Support

On Fri, Mar 24, 2017 at 2:28 PM, <mukuly...@gmail.com> wrote:
I want to open dialogue window on javascript report. i have edit hyperlink action in report and perform edit functionality in table to each row when user click on hyperlink dialogue window open with row id and populate data so i can update.
so please suggest me how to open dialogue window on hyperlink and its work in simple button click but not work in javascript report hyperlink action.

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/99893dff-3510-4ada-8efa-0236ec176b5c%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

mukuly...@gmail.com

unread,
Mar 27, 2017, 3:27:42 AM3/27/17
to Fujitsu RunMyProcess Developer Community
On Friday, March 24, 2017 at 4:08:21 PM UTC+5:30, abhilash.sambhare wrote:
> Hi Mukul,
>
>
> Good Day.
>
>
>
> Can you please share your configuration details of report,so that we can provide proper solution to you.
>
> (Screenshots would be helpful).
>
>
> Thanks & Regards,
> Abhilash
> Fujitsu Runmyprocess Support
>
>
> On Fri, Mar 24, 2017 at 2:28 PM, <mukuly...@gmail.com> wrote:
> I want to open dialogue window on javascript report. i have edit hyperlink action in report and perform edit functionality in table to each row when user click on hyperlink dialogue window open with row id and populate data so i can update.
>
> so please suggest me how to open dialogue window on hyperlink and its work in simple button click but not work in javascript report hyperlink action.
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.

Hi Abhilash,
Thank you For your response!!!I attached the screenshot right now data is not populated due some network issue because i take data from external database sqlserver through REST API. so i add a button in action column as EDIT when user click on EDIT Button new dialog window open with exiting data it can be edit and update.how to open the dialog window with specific row ID so i will fetch my my entire record with this ID.but its not working when i trying it on action button.or give any other solution for edit functionality in Report

Capture3.PNG
Capture4.PNG

Ghanshyam Mule

unread,
Mar 28, 2017, 6:14:00 AM3/28/17
to suppor...@runmyprocess.com, mukuly...@gmail.com
Hi Mukul,

You need to follow below steps:-

1.In JavaScript report, while configuring column you need to write javascript code:-

"<a href=\"#\" onClick=\"report_dtls();\"><img src=\"https://rmp-public.s3.amazonaws.com/public/icons/n_edit.png\"></a>";

2.Include JavaScript report widget & include below javascrpit snippet to open dialog box. 
& Also need to write HTML code for creating textbox on dialog box screen along with respective data type values.
By Using getSlectedRowIds() we can fetch id of row. For getting respective values need to refer link.


function report_dtls()
{

var row_id = id_report.getSelectedRowIds();   =

var windowComp = $('[row_id="'+row_id+'"]').dialog({ 
                                            autoOpen: false, 
buttons: {
       'Select': function() {
  
       addDetails();
       $(this).dialog('close');
       }},
                                            modal: true, 
                                            stack: false,  
                                            width:800,
                                            height:450,
                                            title: 'Edit & update details'
                                            });
$(windowComp).dialog('open');
}

3.Include javascript widget & write addDetails()function to add new values(updation operation) fetching from HTML textfield .

4.Need to refresh the report with report_identifer.refresh() function.

If you have any other question, please don't hesitate to contact us.

Regards,
Ghanshyam Mule


To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.

Abhilash Sambhare

unread,
Mar 30, 2017, 11:53:59 PM3/30/17
to Fujitsu RunMyProcess Developer Community, mukuly...@gmail.com
Hi Mukul,

Good Day,

Awaiting for your feedback.

Thanks & Regards,
Abhilash
Fujitsu Runmyprocess Support


mukuly...@gmail.com

unread,
Apr 3, 2017, 1:30:05 AM4/3/17
to Fujitsu RunMyProcess Developer Community, mukuly...@gmail.com
Hi Abhilash,

Thank you!! its very helpful.

Reply all
Reply to author
Forward
0 new messages