Tridion 2009 TBB: How do I determine which version of a component has been published to staging and live target? [closed] - tridion

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Given a Page that has a Component A and Component A has been published to LIVE target.
Later, the same component A has been modified and published again, this time, to Staging target.
We need to know which version of component A has been published to LIVE and which version of component A has been published to Staging.
Is it possible to obtain the version of the component that has been published in each target?

What you are looking for is not possible OOTB. You can infer however this information using PublishEngine.GetPublishInfo(IdentifiableObject item), which gives you back a ICollection<PublishInfo>, which contains the Date when the item has been published.
You can then combine this information with version info of the item, and identify (by looking at the Publish time vs version check-in time) the version used when publishing.
However, versions could be deleted, so this method is not guaranteed to give you back the right information.
I suggest you publish the version of your Page as CustomMeta (perhaps using something similar to MetaDataProcessor, part of the TDFramework, to create meta data on-the-fly). You can then interrogate the Content Delivery DB and retrieve this information.
Alternatively, for a CM-side solution, you can use the Event System and intercept the publishing action. Then it's up to you to store the version of the Page (e.g. Application Data might be a good candidate).

Related

How to remove old app version's analytics data from Google Analytics [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last month.
Improve this question
Intro:
Hi, I have an app that is connected to Google Analytics.
Previously, it was built using React Native and Now I've made using Flutter & published it with version code: 3.0.1+. and all the services connected with the old app are down.
Problem:
But I am getting analytics data of old versions also. I want to remove/disconnect those old versions from Google Analytics.
To get the correct data, I need to use filters every time to see the correct analytics.
I know about the custom reports, but I want to know, how I can delete or remove old versions.
Normally, we would point a new app to a new property if we don't want to mix the data. Old app's performance is important to have if we want to compare certain metrics with a new app.
You can, however, file a data deletion request and have the old data deleted.

How do I create a Minecraft fabric mod that spoofs a resource pack [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last month.
Improve this question
I am attempting to create a Minecraft fabric mod (or jarmod) that, when sent a server resource pack, sends back a packet acknowledging that it has loaded the resource pack, while it actually has not. This is intended to be used to bypass the way some servers require the use of a custom texture pack, which has to be loaded every single time. A similar system is used in Minecraft Console Client (code), which doesn't even load textures. Is there a way to do this? I can't understand the Fabric Networking Tutorial, none of the code or advice seems relevant to what I am trying to do. Also, I don't use java. Is there anyone more knowledgeable on the subject who can help?

How to sync firebase with android room local db? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have an application that has a remote database(firebase) and local database(room). I get my data from firebase and save it in android room. Also, I use rxjava2 to do that. All posts is get from local database. Everything is okey until here. When I put new child to firebase, it doesnt appear in my application instantly. It is not put in local db. I know that I have to update my remote database every time such as every six hours. I had some researxch to do that. Work Manager and JobScheduler can be used but I dont know how to use that. Is there anyone that give me an advise?
WorkManager, part of Jetpack, is a library by Google, that handle deferrable work that requires a guaranteed execution.
You can read this blog to see if it covers your requirements. The documentation is an excellent starting point and there's a codelab that you can do to try the library itself available both in Java and Kotlin.
WorkManager uses JobScheduler when it runs on API Level 23+, for older Android versions (WorkManager supports API Level 14+) it uses AlarmManager and Broadcast receivers.

How to restructure the Alfresco Repository [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We are using Alfresco Community Edition 5.0d. Unfortunately the best practices are not followed since beginning. Due to this all the documents are stored in the Repository root folder. This folder now has 800,000 records. This is causing performance issues in application.
After looking at several recommendations for keeping fewer number of files in a folder, we want to move all the existing document in to year wise folders. What is the recommended way to move the documents?
I would suggest to use a BatchProcessor in Java.
Your implementation of BatchProcessWorkProvider would get the documents under the repository root folder, and your implementation of BatchProcessWorker would move each document in a date folder (after creating the folder if it doesn't exist).
The batchProcessor could be launched either manually from a java webscript, either automatically with a patch on startup.
If you choose this method you might have to perform a full reindex of Solr after the execution of the batch because I remember of a bug in 5.0 causing a node to be duplicated in Solr indexes after being moved, with one version indexed in its original path and the copy indexed in its new path.
You can try to move a node and search it by name (or whatever way which ensure that you only recover this node) in Share. If you have 2 results for this node then you have the bug.
The full Solr reindex can take a lot of time depending on the number of files you have in the repo and their size.

What could be the different approach for web based and windows based product testing? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
If i am testing windows based project and my documentation is according to windows based and suddenly i have to migrate my windows based project into web based project according to need.
What different approach should i follow if i have all the documentation and test strategy for windows based project ?
Is there any change in test cases and test strategy?
Can i have few suggestion regarding this, what should i change and what different approach i need to bring in my testing.
I am changing my windows based project online examination into web based project.
I have some suggestion.
Well U have to perform Usability testing, Security testing , Browser compatibility testing.
U have to also check temporary data storage whenever your site lost connection with server.
Hi Perform load testing on your application and security testing. Also test this on mobile browsers.

Resources