Creating Drill Down / Master detail navigation/Lookup screen in PowerApps Portal - powerapps-portal

Problem Statement
We need to create a Drill Down Workflow of screens in PowerApp Portal application where the user can drill down from Parent List to it's child list and so on.
For Example:
-The First screen should list the Phone Brands.
-On clicking any brand->it should bring up a list of Phone Models of that Brand.
-On clicking any phone model, it should bring up the hardware configuration of that phone.
Query:
We have been able add Lists to Child Pages and navigate between pages using the Target type attributes of a List but, we haven't been able to pass the Filter condition from parent screen to child screen
i.e. when the user cliks to drill down from Brands to Models screen.
This results in the Models screen showing Phone models from all brands.
It it simple to achieve the same using PowerApp Canvas application but, we are struggling to achieve the same using Power Apps Portal application.
>>Would appreciate inputs to achieve the same using Power App POrtal Application

you can try to add some query parameter when someone clicks on a brand name in the parent page on the portal and when the user is taken to the child page (model level), there you can read the query parameter to filter.
For readingg query paramter in liquid - https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/objects/request/
For adding query parameter on brand click- basic js/jquery should be ok.

Related

Can I add new attribute to an existing table in Laravel Dynamically?

I am building Dashboard in Laravel with API to Mobile Application.
In the mobile app there is a container that has a Drop Down list connecting to the API to get Department.
When we choose one of the Department another Drop Down list appear contain Department info.
The problem some Department need to show another Drop Down list to choose. For example (the manufacture company) but some Department don't need that.
How can I deal with this problem in database? Is there any way to store this in my database without having null record.
If there is a way how I can send the data in API to mobile app to read the attribute that need to fill?

How do I create a "Details" button in Microsoft Access?

I'm new to using Microsoft Access, and I'm having trouble restricting a report's output to only the single row I'm interested in.
My organization has a relatively small client list, where a little of their information is used frequently (like their name and account status), and much is used infrequently but still important (like home phone and incident reports).
The way I want to display this information is to have a form that shows a list of our active clients with their most common information, and then has a "Details" button at the end of the client info for when people need to see the rest of that client's information.
So far, I've successfully made a form that links to an "ActiveClients_rpt" report that shows the most common info, and I've made another form that links to a "ClientDetails_rpt" report that shows all the detailed info. My problem is that when I try to restrict the results in the Client Details report by the user input in the Active Clients form, either I have to use a very unaesthetic option (like an ugly combo box that replicates the list of names the user can already see), or (if I try to do something like add a button inside a report) the form sends me the information of every client's detailed info, when I only want the info of the one client.
Is there some way I can use a report (or some other option) to tell Access to only pull information from the row in a list the button is located on? I've tried doing things like making an embedded macro using the OpenForm command to open my ClientDetails_form form with [Forms]![ClientDetails_form]![ID] or [Forms]![ClientDetails_form]![ID]=[Me].[ID] as a Where Condition (where ID is the client's ID #), but everything I've tried has either resulted in an error or not restricted the report like I want it to.
This is pretty complicated without seeing your actual database, but I did a video on something similar that might help here https://youtu.be/nNUjmH72OfI. You basically set a click event in the 'Event' tab of the Properties window while your 'Detail' button is selected (in form design view). You click on the builder button (button with three dots) and either use the Macro Builder or the Code Builder to type out the VBA. The Macro Builder is the simplest way in this case.
That's pretty vague, I admit. But hopefully the video helps.

Forge Viewer - can we make selections/highlight on loaded models and save in database so that we can show that selection next time user loads it?

Forge Viewer - can we make selections/highlight on loaded models and save in database so that we can show that selection next time user loads it?
Is this possible? Or how can we add sticky notes/RFI information /issues spot in the model.
I am working in a web application, how do we manage that information and save to some database so that we can show that information later when the same model is viewed again?
Thanks in advance
You can get or set the selection using Viewer APIs. Specifically, the getSelection method returns a list of object IDs that you can store wherever you want, and the select method accepts a list of object IDs that you want selected.
For more advanced extensions, feel free to browse our samples over at https://github.com/Autodesk-Forge. One demo that could be of particular interest is the "Forge Digital Twin" (source code, and live demo) which stores "reported issues" to a database, and later shows them as 3D annotations on the model:

How to access Google Analytics Filters for a specific View or Property via API

I am trying to access filters within a specific view for Google Analytics via the API. From everything I can see I can only access the filters for the entire account and there is no denoting within the response which Web Property, Profile, or even View that filter is for.
Looking to either be able to access just the filters within a View OR be able to denote which view a filter lives in within the account response, because then I can loop through those and just pull out the filters for the specific view I am looking for.
Ultimately I am trying to build a way for me to list all of the filters I have across multiple accounts and update things en-mass, like when someone moves or has their IP address updated. I am currently using Google App Scripts which has the built in Google Analytics Service. Using that, I can quickly get the filters with
var filters = Analytics.Management.Filters.list(accountID);
Logger.log(filters)
but as you can imagine (or test if you are so inclined), this logs/returns ALL the filters for the Account ID listed. This response shows the following info (redacted info and changed formatting a bit to display nicer)
{accountId=XXXXX,
parentLink={
href=XXXXX},
excludeDetails={
expressionValue=XXXXX,
field=XXXXX,
kind=XXXXX,
matchType=XXXXX,
caseSensitive=XXXXX},
kind=XXXXX,
created=XXXXX,
name=XXXXX,
id=XXXXX,
type=XXXXX,
updated=XXXXX,
selfLink=XXXXX}
none of which shows the Web Property, Profile, or View.
So, how can filters within a specific view be accessed or the view of filter be seen?
You’re looking for profile filter links
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/profileFilterLinks#resource

Add application to Fb Page from outside Fb, add tab for it and configure if with specific data?

I have a simple product catalogue for businesses. There is a catalogue's management interface for adding products. Each business has a unique domain name where all its products are listed.
I would like to extend catagloue's functionality and allow businesses to have their products listed on facebook.
Functionality of the facebook application:
- Each business can install application from catalogue's management interface (I would like to have a button that opens facebook in a new window and prompts user to authorize access to one of user's existing Facebook Pages)
- installing application adds a Tab on selected Facebook Page,
- by clicking on a Tab visitor of the Facebook Page is presented with a list of products specific for this business. Data for that page is dynamic and can be accessed with a REST call and presented as json or html.
We would like each business that have a product catalogue with us to install application and have it automatically configured to use specific domain name when requesting product data.
Is it all technically possible? Could you point me into the right direction on how to
- install application from external website
- configure that application with a parameter (perhaps passed in url when requesting application installation)
- automatically add Page Tab for this application
Cheers,
Michal
Yes it is possible. But it'll be a little different from what you are thinking, i guess.
I recently implemented code to add a tab to a page programmatically, it is as follows(in PHP) :
$tabAdded=$facebook->api("/".$id."/tabs","post", array("access_token" => $access,
"app_id" => $fbconfig['appid']));
From the code we see that we need an app id, an access token, and the page id($id). $facebook is an instance of the FacebookPHPSDK.
So here's how we can get the three things in question:
First app id, you'll need to create a Facebook page tab app, select Page Tab in the app's Basic settings (where you can mention the page tab url. This url will have the content for a page tab.) You'll also need to enable website because you need to ask the user for necessary permissions (namely manage_pages). For your specific requirement you have to give the domain of the catalogue management app.
Second page id and access token, once you have manage_pages permission you can query the graph api to get the pages of the user using : api('me/accounts') this returns data with page name, page category, page id, page access token for all the user's pages.
#thaddeusmt has already mentioned that you can't create new applications, and need to use the same app, you have to read the signed request and get the page id, and serve content. All that will be left to do is link your customer domains to the correct page ids.
Hope this was useful.
You can install/uninstall (add/remove) application tabs to/from Pages using the Facebook API:
http://developers.facebook.com/docs/reference/api/page/#tabs
You cannot create new applications, however. So you will need to use the same application for each Page.
The way you can show different content for each Page in the Tab (using the same application) is by checking the Signed Request. This contains the ID of the Facebook Page. The code that serves up your application Tab can look at the Page ID and serve up the appropriate content for that Page.
I hope this helps get you on the trail. Good luck!
Yes it is possible.
It's a two way process
First you have to get page_access_token through graphAPI.
www.facebook.com/?fields=access_token
This will return Page_access_token.
Use page access token and use post method
www.facebook.com/yourpageid/tabs/
Post Parameters:
app_id= 'YourAppID'
access_token = 'access_token'
That way you can add your facebook app into facebookPage.