How to drop a class (table) in Back4app Dashboard - parse-platform

I'm new to parse and back4app. While I'm trying to delete a class (table) in the dashboard, I can't find any menu item that allows me to do it. Can anybody point me to the right direction?
Also related, is it possible to change a column's name after it is added, and is it possible to bulk update rows for certain fields, all within the dashboard?

Well, actually I just found part of the answer. The "Delete this class" menu item is in the top right Edit menu, as shown in this screenshot:

In order to delete the class, it must be empty, so you firstly need to delete all rows before deleting the class.
It's not possible to edit the column's name from the dashboard, so, what you may do is exporting the data and import your JSON file with the right name.
Another option that is not recommended if you're not sure about it, is updating the column's name through Mongo commands.
You'll need to update it in the collection (the class) and in the SCHEMAS too.
The connection string to help you with the mongo commands is available at Server Settings > Core Settings > Settings > MongoDB Database URI.

Related

Maximo: How to enable search in list tab in application where main object is view

Suggestions are appreciated.
I created DB view ABC_VW in maximo database.
Created object with name ABC_VW in maximo.
Created power application with name ABC with main object ABC_VW in maximo.
On list tab the search is disabled.
How can I enable the search?
Note: I tried updating search type to WILDCARD from backend in both tables MAXATTRIBUTE and MAXATTRIBUTECFG but no luck.
Please suggest.
Whenever a view is created in DB and object is created on the view, a primary column has to be updated in MAXATTRIBUTECFG table as
update maxattributecfg set changed='Y', searchtype='WILDCARD', primarykeycolseq='1', defaultvalue=null, maxtype='ALN', length=22 where objectname='ABC_VW' and attributename='XXXXXX';
update maxobjectcfg set CHANGED='A' where objectname in ('ABC_VW');
Then apply configuration changes from the Database Configuration.
This is how the field from view can made searchable.

Grafana dynamic dashboard

I am a newbie to grafana. I have made dashboards in grafana using MySQL query. For Example:
SELECT TimeOfDay as time,M00B01, M00B00,M00B02
from ABC
where ABC_ID=0;
Now I want to give drop-down option on the dashboard that will allow the user to change the graph based on his selection checkbox he choose i.e. if he selects ‘M00B00’ then data points of ‘M00B00’ only should be fetched from the database against Time. If he select ‘M00B01’ then only ‘M00B01’ should be fetched from database. Or if he selected both option from drop-down he should be able to see the graph for both column.
How can i achieve this? I know I can use variables but what settings or configs to set to achieve this. Thank you. Any help is much appreciated.
Create a global variable with settings like the one in the screenshot, but with Client replaced with the label name that holds ‘M00B00’ and ‘M00B01’. Also, if you want the user to be able to select both together, make sure Multi-value checked.
Then, if you need help with the query configuration, this page should help: http://docs.grafana.org/features/datasources/mysql/

I used the Data Source Configuration Wizard to create a connection to an Access database

I used the Data Source Configuration Wizard to create a connection to an Access database and fill a listbox. All is well except the list is not sorted. If I set the sort order via the properties dialog, then the list is sorted, but the associated textboxes that display information from the database are still sorting in the order that was defined in the dataset.
I know I need to sort the dataset, but since the Wizard created the connection, I don't know how to find the code. The only code I can find is in the form load section and it is as follows:
this.membership_LogTableAdapter.Fill(this.membership_Log_DataSet.Membership_Log);
I tried to manipulate the sort order by doing the following, but it did not work:
this.membership_Log_DataSet.DefaultViewManager.DataViewSettings["Membership_Log"].Sort = "Last_Name ASC";
Anyone have any ideas?
It looks like you're filling/binding-to individual datatable. If is the case, try setting sorting of that specific table:
this.membership_Log_DataSet.Membership_Log.DefaultView.Sort = "Last_Name ASC";
I figured it out. I double clicked the Membership_Log_DataSet.xsd file in the solution explorer and then I right clicked the Fill,GetData method and clicked properties and then I was able to alter the SQL command text by adding ORDER BY Last_Name to the auto-generated SQL code.

CRM 2011 - How to update Marketing List Member Type options to reflect entity display name changes?

Is there a way of updating the Option Set options for the Marketing List Member Type to reflect an entity display name change? i.e. if the account entity has been renamed to organisation, is there a supported way of reflecting this in the displayed options? I have been able to achieve this using javascript, but wondered if there was a better way of achieving this? At the moment I am unable to change the descriptions of the current options: Account, Contact or Lead.
Simple solution..
Create a Solution in your crm org. Add Marketing list to it.
Export the translations from the solution and when you open the translation excel file you will see all 3 picklist values.
from there you can change the values.
If you have to rename an existing entity, you should also rename its 'messages'.
You will find them in the customization area. Open the entity account. There you will find 'messages'. These are the strings which are used for the entity.
For a complete renaming, you have to replace the term 'account' in these messages.
It's just a normal Option Set on the Marketing List entity called "createdfromcode" which has three options (Account, Contact, Lead) and the underlying values match the entity type codes (1,2,4).
You can't edit this option set directly, but you could set up your own with appropriate values and the labels you want to use, add that option set to the form and use javascript to copy the selected value into the existing field (which you keep on the form but not visible).

MS CRM Save + Copy as new (Custom Entity)

I have a custom entity in Microsoft CRM (4.0). The user has to input records however usually they have a batch of 20+ records that are almost the same apart from 2 or 3 fields which need changing. I know I need to write some custom code to enable this functionally. However can anyone recommend any methods to do this.
Ideally there should be a button that will save and create a copy as a new entity.
My Current way of thinking is to pass all the details as part of the URL and use javascript to strip them out on the page load event. Any ideas welcome.
Thanks
Luke
I found the answer here:
http://mscrm4ever.blogspot.com/2008/06/cloning-entity-using-javascript.html
I've used it and it appears to work well.
Since there are numerous fields, but only certain fields values are different, then i am thinking to set the default value to all the fields, so that users just need to alter those values when needed.
In my approach, i will hook a javascript function on load of the form data entry screen and use XmlHttp approach/Ajax approach to hook to the custom web service to pull/retrieve the default values of each fields. Or you can set those values at the javascript function itself, but the drawback of this, it's difficult to customize later. So i will choose the approach to hook to the custom web service and retrieve those value from some application parameter entity.
Your idea of providing a "clone" button is also a great idea, which means that it will duplicate all the attributes of the previous record, into a new record, so that it will save time for data entry person to customize the different value
EDIT
Since you would enter records in batch mode, how about customizing .ASPX screen to enter records. By customizing through .ASPX screen, you can use a tab , so that users can browse through tabs, to customize the value/attribute of each record.
There will be a "save" button as well as "clone" button to clone some common attribute or value.
I would create a custom web service that would accept the entity type and the ID of the record I'm cloning. Your "Save and Clone" button would call the service, and the service would handle the details of retrieving the current record and deciding which fields to set on the new record. The service creates the record, and sends the Guid of the record back to your button, which then opens up the newly created record.
This way, you avoid the messiness of setting/getting values in JavaScript and tying which fields to set/retrieve directly to your OnLoads, as well as avoiding the possibility of query string that's too long.
The service could easily be sufficiently generalized so that all you'd have to do is add your button to any entity, and it would work, assuming you'd set up your service to handle that particular entity.
One possible downside is that since the clone record button would actually create the record, the user would be forced to delete the cloned record if they decided they didn't want to clone the record after all.

Resources