I am working in extjs6. I have grid with several columns as well as settings button on grid which hides/shows selected columns on click of apply button. I have implemented state related functionality for each column which will helps to decide which columns to be shown initially when user logs in.
Suppose i have grid with columns as-
{Id,
Name,
Description,
Author,
CreatedOn,
ModifiedOn}
I have selected Id, name and description columns. So as per my functionality, when i log out and again logs into my application, Code checks state of columns and displays only these three columns. Everything is working fine if i use application on Desktop/PC
But when i am performing above functionality with mobile or tab like touch devices, something weird happens. Using mobile if user A selects only some of columns of grid and get logout and log in again..He is able to see only selected columns as per requirement.
but now if i get login with same user A but on desktop/PC, grid is retrieving some wrong state resulting into display of all available columns. [Grid should display only those columns which user had selected before last logout].
So can someone please help me to know why this is happening.
ExtJS is saving state on the client side - meaning, if you login on a mobile phone, the state will be saved only on the phone in the browser.
If you log in on the Desktop, the state will be saved only in the browser with which you visited the site.
The state can be saved to Cookies, or better, LocalStorage
If you want to save states across devices, you need a server-side solution, you can check for one here
Related
I am a new R user, currently developing a dashboard for my project. This dashboard displays the overall attendance summary for schools. I added a side bar and I want users to be able to select factors i.e. 'region' in the sidebar to see the results. The result that is currently being displayed is the overall result. How do I connect the sidebar to the various sections of the dashboard to enable the results to vary based on user selection?
The code can be found here https://github.com/Abdulkarim1990/kadiri1990/blob/42ca201fe90beda11098778c6702a8a833b1e75c/PLC%20dashboard%202.Rmd
I tried googling and varying the code to no end. I need help.
I have a form that has five fields and an interactive grid. After I click "Send", I created a process to send an email to the requester, and in this process, I can send the information that is filled in each field of the form, using the APEX variables &P10_FIELDNAME.
My question is: how do I send the information that is passed in the interactive grid?
Remembering that: this interactive grid is only for INSERT. That is, the grid will always be empty when filling out the form.
My form
It is possible to create a page process to pick up the data from an interactive grid in pl/sql as shown in this screenshot: it is a basic interactive grid on the EMP sample table:
This process is being executed for every updated/inserted row of the grid, the "editable" region needs to be set to the IG region, the individual columns can be reference with the bind variable syntax (column ENAME can be referenced as :ENAME).
There are many blogs on this, for example here and here (I just picked those 2 at random)
Now to answer your question specifically, you'll have to go through a number of steps to send this data, together with other page data in an email, just because the pl/sql code in this process is executed in every row. What you could do is
In the IG custom process, add the data to a collection (using the APEX_COLLECTION api.
In a page process that executes after this IG custom process, loop through the collection with the IG data to populate the email and include the other page items as well
I am working on the reporting project that uses PowerBI as the data visualization tool.
I need create a processing approval workflow on the PowerBI tool. After seeing the Dashboard, the employer can approve some exception cases and the workflow can direct connect with email or ticket system.
There are 2 cases:
Approve for the whole dashboard that supports to be easy. I don't have any problem here.
Approve for singular object/row in a table chart. So I must generate number of buttons according to the number of row, which I need help. I don't know how to generate dynamic number of buttons and attached to row. And how to program/code it to create a view or action to become an approval step.
Button PowerBI
In this screenshot, my plan is create buttons in each row and each button has the same function with parameter is username or IP. And after that I can send email to the user and notice him/her that his/her case is approve for exception.
I find this https://community.powerbi.com/t5/Community-Blog/A-simple-and-fun-guide-to-Microsoft-Flow-and-Power-BI/ba-p/151530. But it doesn't seem helpful. Anyone here has ever dealt with approval case like this.
Is PowerBI able to do the approval process like I want?
Thank you so much.
First: This kind of goes against the spirit of BI in general. BI is for data visualization, exploration, etc. It's not really a UI for inserting data and executing tasks. Maybe you want instead to have a front end that lets you do things, and only needs to handle a very limited dataset? PowerApps is good for that. If the dataset is less than 1000 rows, this could work.
Second: I'm pretty sure it's not possible to create a button (like one that you'd see in an HTML page) that does what you want it to do in a Power BI table visual.
Third: There is a "drill through" button capability, but this just lets you navigate from one area in the report to another, not send an email or execute a Power Automate flow or anything like that. You may have seen a button on a table visual, but it's misleading. It's not really programmable like an HTML/JS button on a website.
https://www.c-sharpcorner.com/article/create-a-drill-through-button-in-power-bi/
That said, within the last 1.5 years or so, we now have the PowerApps add-in available. You could create an app that utilizes your streaming dataset, create a gallery that looks at that dataset and creates a kind of table with buttons on it, and then each button is set to execute the flow you've created in Power Automate.
PowerApp Add in chiclet
All of this is very, extremely straightforward, but beware, the PowerApp will start to cost you extra money depending on where your data is housed. If it's a SQL server, you'll need both a premium PowerApp license and Power Automate license too.
Sorry for the not so great news, but this is kind of a limitation of Power BI.
I am using Apex 18.2. and ORDS as a printing server.
I have a master-detail page for selling items with a form on a table as the master region and an IG as the detail, joined to each other through assigning the PK to the FK IG's column.
There is another page with a report that can be queried through number of page items to get the documents with items sold in the previously mentioned master-detail page.
Whenever a user creates a document and submit the page, I will need to send the data of that document directly to the printer.
I mentioned the report page because I thought redirecting to it and assigning the PK to the corresponding page item could be a suggestion. But I know that I can create a shared component> report query too. But I do not know how could I send the data directly to the printer in either way.
I do not know if the report type - IR, CR or IG would make a difference. That's why I just referred to "report". But I'd need to know how it could be done with all types of reports.
Here is how a real-world scenario would look like,
You enter a supermarket, buy some items, go to the cashier, pay for what you've bought and get a receipt. The receipt is printed when the cashier saves the invoice.
I know this is not how web apps work, but this is the task I am facing.
I can think of branching to the report page after the invoice is saved and setting the PK value to the corresponding page item in the "search criteria" region to get the corresponding data then execute "window.print()". But there will be two problems then. 1- criteria region would be printed too, unless I hide it with a dynamic action or else. 2- The "print dialog box" of the browser will be displayed.
APEX 20.1 added native support for PDF printing of Interactive Grid regions. See this video: https://www.youtube.com/watch?v=e1yIFcEdW_o
If you can't upgrade, or if that support isn't sufficient for your needs, I suggest taking a look at APEX Office Print: https://www.apexofficeprint.com/index.html
APEX Office Print(AOP) can provide you the right solution.
Please try out the solution posted in the below link.
http://dgielis.blogspot.com/2020/01/print-pdf-from-oracle-apex-to-local.html
Few more examples:
How to print to an IP printer:
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/5034?session=13740999314649
How to print directly to a zebra printer
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/zebra-printer?session=6208952429228
(OR)
https://dgielis.blogspot.com/2020/01/printing-to-local-zebra-printer-from.html
If you are redirected to the Home page,
-> Click on examples in the left side menu.
-> Click on Print(highlighted in yellow).
From what I read in the documentation, bundling allows you to display a sublist of cards once the user clicks on the cover. Does pagination just display a series of related cards at the top level ("root") timeline? If so, are there any good use cases for pagination? I would assume almost all users would prefer that there is a cover for a specific app that they can drill down into rather than have an application litter all of its cards on the root timeline.
Pagination automatically breaks up long content into multiple cards, but only the first card is displayed at the top level of the timeline. If an item needs to be paginated, a "Read more" menu item will be automatically inserted so that the user can read the rest of the pages. You would use this feature when you have free-flowing content like an e-mail message or a news story that you're inserting into the user's timeline. Note that pagination is automatic -- you only insert one timeline item.
Bundling is when you insert multiple timeline items with the same bundle ID, which causes them to appear as a single item at the top level of the timeline, and tapping it lets the user drill down into the remaining items in the bundle. This is useful, for example, if you need to insert several related but independent items at once without cluttering the user's timeline, like sports scores for several games in the same day.