Unable to write table from multiple pages into collection in blueprism - collections

I'm extracting the data from a table that is spread across several web pages. I'm trying to fetch data per page and write into the same collection. For this I have given same collection in the output of these pages.
The problem is that the data instead of getting added is getting overwritten in the collection.

Well, that's how it works! When you read the data into the collection then the previous data is being overwritten. That's the same as other data items :)
The solution is simple - read the data into temporary collection first.
Afterwards, use action:
object: Utility - Collection Manipulaiton
action: Append rows to collection
That will join the rows from your temporary one to the main one.

Related

looker dev difference between PDT and regular DT

LookerML question:
I have got this snowflake query which joins one static table (does not refresh) and one table that refreshes every day.
I want to pop this query into Looker and create a simple Looker dashboard using it.
Two options I think are available to me to do so:
Create view file and PDT but that would mean I need to add a trigger value and the data including the static table would refresh, right? - Isn't this very inefficient?
Create regular DT with the explore being a PDT?
A derived table will be temporary and will not be written to the database. Each time the dashboard is refreshed, a query will be rerun against your data source to extract data.
A persistent derived table will store the data results in a database, whilst using a persistent strategy to refreshing the data based on time or a data driven trigger. If the persistent data already exists and is still valid, Looker will extract the results from the persisted data rather than creating a query against your source database.

Displaying data in a datagrid in an Alfresco task form

I have a json array variable defined in my activity workflow definition. Now, I need to present the data of the json array in a datagrid inside a form task. One of those columns should be a check entry filed so that the user may select some rows. After that, I need to get back that data in a subsequent form task (so I need the data to be updated in the json variable so I can read it back, mainly the user selected checks).
Any example to accomplish this? I didnt find almos nothing relating with using datagrids in Alfresco task forms.
thank you!
Miguel

Access Categories.find({}) result from template helper

I'm retrieving a list of categories (and subcategories) from Mongo and I need to bind these values to a list of html elements that represent the categories in the view.
When I retrieve this from the server I save it in a Session object. I'm trying to write a loop that goes through this object and binds the data with jQuery.data() to the list html elements.
However I can't access the collection from within the Session object in Meteor. I can in the browser! I can drill down to categories.collection.queries[1].results and I can see the category objects. If I use this in Meteor I get undefined error.
Any ideas what I'm doing wrong? Many thanks
As suggested in the comments I'm already using {{#each categories}} in my template. But once the categories are rendered I want to bind data values to them from the same collection.

Search Operation in table view javafx

In my application i added all data into table view. Then I need entire row by using search operation.
Searching is based upon any data like search by RegisterNo or search by Name. By entering RegisterNo it Should display entire row related to RegisterNo.
To do search operation in a TableView, what I've done is to add a notion of filters.
For example if you want to filter by name, each time your name query change, you filter all your data and let on the table only those who match your query.
You always keep the full data to execute your query on it, but to display it use an other list.
with that I'm able to have lot of filters at the same moment and my view refresh in real time

Preventing access to Dynamic Data tables programmatically

I have an admin section for many databases set up using Dynamic Data. When the user logs in, they are presented with a list of databases that they have access to modify (this list is kept in a separate database that is tied to the person's login information and also lists the tables they are allowed to see). Upon clicking on the database, a list of tables is then shown in a second gridview on the same default.aspx page for the Dynamic Data site.
I have found a way to limit the tables shown to the ones corresponding to the database entries of allowed tables, however, upon viewing the table entries, any foreign key associations to tables they do not have access to show up with the dynamic data hyperlinks that take you over to those tables directly.
Soooo, if you are still with me, thank you. My thought was to do a check in the global.asax file where the metamodels are bound and just not scaffold the tables that are supposed to be inaccessible. Can this be done programmatically? I would post some code but I'm not really sure what would be needed. Here is where I'm thinking I can make an edit:
foreach (var table in metaModel.Value.Tables)
{
var tablePermission = authorizedTables.Any(p => p == table.Name);
if (tablePermission) continue;
//Next lines are possible ways in?
var canThisBeSetSomehow = table.Attributes.OfType<ScaffoldTableAttribute>().FirstOrDefault();
table.Scaffold = false;
}
Assume that "authorizedTables" is a string[] that holds my table names in the above scenario. Is there a way to take the metamodel and edit it so that the remaining tables are inaccessible on a per user basis?

Resources