Displaying cds data in powerapps portal - html-table

I was trying to display cds data in powerapps portal web page
This is the code i used
code
Total record size was displaying but the table is empty
here is output screenshot
output

You have to set the table permissions for the custom entity you are fetching.
In portal management
Under security > Table Permissions
Create new > Choose your table
Add appropriate permissions
Hit Save and Close
In Portal studio
Pres sync configuration and browse the website. And press "Ctrl+F5" 
Hope it helps. 

Related

Azure SQL: Modify table data via UI instead of writing SQL query

Is there a way I can modify the table data in an Azure SQL database via some sort of UI (like Excel) instead of having to write SQL queries? Preferably I can modify it online in the Azure Portal instead of having to install some third-party software.
Often times, I just want to edit a specific cell in the table and I feel it would be way easier if I could just double click on that specific cell to edit it instead of having to write a SQL query.
Right now, I am only able to edit data by writing queries, but I can't actually edit the data in the table by double-clicking (the red box highlighted is uneditable).
You can edit row on double click. On Azure portal follow these steps.
Go to Azure Sql database.
Left side menu blade select Query Editor
Connect to database. and under Tables folder click table three dot. popup small window open, select Edit Data(Preview).
select Preview terms check box, then click ok.
Double click on row , edit row enable.
Change on FirstName from Punit to Sunit. Click top menu Save button and its save record to database.
Final result.

Microsoft Powerapps gallery is not showing any text

I am trying to put a simple gallery on my app that is connected to excel through OneDrive. However, the connection can find the table in my spreadsheet but for some reason nothing is showing up.
As you can see, The table data is not there. When hovering over the table name in the formula, it says PowerApps didn't find any data. But there is very clearly data in the table.
In future refresh your data source in Power Apps Studio. It will start to display after that.
This happened to me using SharePoint as data source, and it wasn't data refresh issue. I've attempted to insert gallery in component, and it won't work. It worked in a separate non-component screen.

Modifying List Item permissions

I have a Sharepoint list that I'm using as a form. Everyone in the company needs to view/modify the form to submit information, but I would like to keep the response from the form viewable to just a few people. Is there a way to do that, without clicking each item and managing permissions for that item? Can that be done with a workflow?
One approach:
Set up the list so users can only see and edit their own responses. (List settings > Advanced settings > set Read Access and Create and Edit access to "Items that were created by the user".
Create a SharePoint group for people who should see all items, e.g. ListManagers
Set up list permissions so that Visitors (everyone in the company) have Contribute access and the ListManagers group gets full access for the list.
Another option:
Leave the Advanced settings at the default, so that everyone can see all items.
Change the default view of the list to show only items created by the current user.
Create a page that shows an XLV with the default view and serve that to everybody.
Create another page that shows an XLV with all items and give permissions for that page only to the limited group of people.
The second method is more for convenience than for security and will not prevent savvy users from accessing the data they cannot see in the default view.

How do I use row-level permissions in BigQuery?

Google announced this feature today, but I don't see any docs for it. How can I grant row-level permissions to a user?
For example, let's say I have a table private.all_customers with the schema {customer:string, id:integer, is_secret:boolean}.
I like to give our salespeople access to the fields customer and id, but not is_secret, and moreover, I'd like to give to give them access to only those rows where is_secret = false. How can I accomplish this?
The key part of row-level permissions is that you're actually giving permission to a view. The view defines the rows and columns in that you want the delegated user to see, without giving them access to the underlying table.
To do this, create the view that will return the rows and columns that you'd like the user to see. For the example above, the view would look like:
SELECT customer, id FROM private.all_customers where is_secret = false
Then I can save this as the view "public.public_customers", and share the public dataset with the analysts.
Note that, so far, this does NOT mean that the analysts will have access to the data. If they try to run it now, they'll get an error. Merely having access to a view that reads a table doesn't give you access to the underlying data on that table. If it did, then anyone could just create a view to read any data that they wanted to see.
The second step is adding that view to the ACL of the private dataset. What this does is records that the view should have access to the data. This way the owner of the private dataset can audit who has access to their data, and revoke it if necessary.
The easiest way to add the view to the ACL is to use the BigQuery Web UI. If you click on the arrow next to the private dataset name in the Web UI and click "Share this dataset", it will bring up a dialog box that lets you edit the ACL.
At the bottom of that dialog it will show "Add People" and a clickable icon on the left. If you click on that icon, you should be able to select "Authorized View". Once that is selected, you should enter the fully-qualified name -- project:dataset.view of the view. In our example, that would be my-project:public.public_customers. Hit 'Add' and it will show up in the list, and then hit "Save Changes" to commit.
Once the view has been added to the ACL, anyone with access to the 'public' dataset should be able to run queries against the public.public_customers view.
For more advanced usage of this feature, which will allow you to give different answers to different users, see this question: How do I give different users access to different rows without creating separate views in BigQuery?

How do I update the password for a Cognos Data Source?

The db password expired and it needs to be updated, how do I update the password for a Cognos Data Source?
In Cognos Administration, under Configuration tab, the Data Source Connections section (on the left):
Clicking on the Data Source name will bring give you the Connection for that Data Source (the Connection might have the same name as the Data Source). Clicking on that will bring you to the Signon (Which may also have the same name, it is an icon of a db with a user icon next to it). Choose properties of the Signon, on the properties page select the signon tab, on that page is an entry to "Edit the signon".