How can I see when was the Drupal view last updated? - drupal-7

I have a production database. Our team have done few changes in UAT environment in Drupal views. Now I want to see which views were modified in development so that we can port the changes.

You can export each view and compare it with the one in production
Export view

Related

Github Actions - Change "Use Workflow" selection from default

To make it simple, we're deploying our product via using Github Actions. Also we have a develop branch in which we're running some tests about our product. That's why, we're using develop branch as a default branch since we're opening our pull requests to develop branch automatically
Also we're running a manual workflow for going to production
But
I want to change the "Use Workflow from" branch for a specific workflow since it's showing develop as default in Production workflow
My question is, is there any way that I can show a different branch as default in this dropdown? I wanted to show master branch by default without changing the default branch of the project since this is the production workflow
Thank you all

Exporting Content Type Data from Drupal 7 Database

we're in the process of moving a client site from Drupal to Kentico and hoping to speed up some of the content creation by importing data for a custom content type. I don't have development access to the Drupal site to do anything in PHP, I only have a full export of the database that we've restored in our MSSQL environment.
I've been looking through the database and trying to reverse engineer how this info is stored, but it's extremely complicated compared to exports we've used from other CMS platforms. So far from what I can tell, I need to at least use a combination of data from the node table and the field_data_ tables. For example, in Drupal there's a custom content type for award, so I'm looking at the data tables that start with field_data_field_award_, but those look like they need to be further joined to something else since they don't contain the data itself.
Any insight or suggestions are much appreciated.
Using only DB export to do migration can turn out to be unnecessarily complex.
An easy option would be to create REST endpoints in Drupal application to pull content pages as JSON and then consume JSON in kentico to create content.
For example: /api/awards will render all awards pages in Drupal.
For Drupal 8 You can use views REST export to create this endpoint in minutes.
For Drupal 7 https://www.drupal.org/project/views_data_export can be used to export content as JSON

How can i transfer table data from SandBox to production in a outbound change set?

I have a sandbox instance and I create a outbound change set which include triggers, classes and custom objects. I select the dependencies and they are added to the outbound changeset .
Now there is a custom object that I have in Sandbox , Test_Master and it will create a custom object Test_Master__c , it is a tracking for real time triggers. It has rows in the table in Sandbox.
Now when i deploy to Production the table is deployed but the rows in the table are not .
Is there a way to deploy both schema and data in the table ?
No, deployments push "metadata" - custom objects, fields, classes, worflows etc. They don't push data.
You need Data Loader, in-browser import wizard, sfdx if you're comfortable with commandline... Or integration tools like Informatica, Azure Data Factory.
If it's one-off check if the import wizard works for you. It's accessible on the object's tab (assuming you have one), "Import" button. Or in setup's search start typing "import". Export from sandbox... Again, data loader? Maybe a report exported as CSV?

Backbone - Syncing simultaneously with Server and LocalStorage

Here is a problem that I am working on:
There is a view and it has a collection. I want to update the UI when the user interaction results in a model being added to the collection. The UI update should be instantaneous. If the web app is open in multiple browser tabs or windows then the view should get updated in all the tabs.
Possible Solution: Use localStorage for caching the data in the browser. Sync with the local server immediately and perform remote sync in the background. Bind UI updates with updates to the localStorage. There are plugins like Backbone.LocalStorage and Backbone.DualStorage. I went through their source code and these plugins do not take care of conflict resolution with server updates i.e. before syncing the data with the localStorage they donot check if the data was synced with the remote server.
Can anyone help me with this? Links to github repos, stackoverflow discussions are welcome.

I made some changes in the database tables. I baked my model again but the changes are not reflecting in the app

What you CakePHP guys do when you do some changes in database table. I added a field in the table after I baked the entire application, and baked again that model. But didn't do anything in the controller.
There are two ways for the reflected changes of database into our application:
Delete all the temporary model files from app/tmp/cache/models/*.
Change the debug value from 2 to 0 and again change it from 0 to 2 in app/Config/core.php
This technique always worked for me.

Resources