Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How FineReport manually pushes APP messages

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

Today I'll show you how FineReport manually pushes APP messages. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.

After the report is completed successfully, sending a message to APP will indicate that the data has been updated. During the second period, the user needs to have permission to view the template, if not, the prompt cannot be received. So how to manually push APP messages on FineReport mobile?

Specific usage

Add js to the event after the report is completed successfully, and send a message request using ajac

Effect 2. After clicking on the message, enter app and open the address page.

Fill in the template and add successful events. The sample code is as follows:

Click (here) to collapse or open

FR.ajax ({

Url: 'http://192.168.1.120:8033/WebReport/ReportServer?cmd=send_messages&op=fs_mobile_main',

Type: 'POST'

Data: {user:'sunlin', text:' completed successfully, template A has data update', url:' http://192.168.1.120:8033/WebReport/ReportServer?reportlet=app.cpt&op=write',title:'app'},

Success: function (msg) {

Alert ("prompt" + msg)

}

});

This is all about how FineReport manually pushes APP messages. For more information about how FineReport manually pushes APP messages, you can search for previous articles or browse the following articles to learn! I believe the editor will add more knowledge to you. I hope you can support it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report