I am setting up a saleforce DX project that needs me to enable 2GP. I am just curious if there are any drawbacks of enabling it? I read that there is no going back so I just want to make sure its worth it. I also want to know if anyone knows of any drawbacks of enabling expanded source tracking?
Related
Our team recently switched from using WSED 5.2 to using RAD 7.5 for our code development (we're a little behind the curve in development software). This, as well as a move to a WAS 7 server, is a mandatory move for us to complete, so moving to a different developer or server is not an option.
Since moving to this new developer, I've been having problems making changes to the app and testing them on my local server. Refreshing the server doesn't help, nor does a Clean or a Publish to the server. Even clearing and rebuilding the projects doesn't seem to do the trick. The only thing that does allow me to view and test code changes with 100% reliability is a complete system reset followed by a clean and rebuild of the project - which obviously is not what we were hoping for with the new developer tool.
It occurs to me that it may have something to do with my code view - we're using a ClearCase code sharing system, and by choice we decided to try using a Dynamic View for my code, because we thought it would be great and fast and dynamic at the time. But now, looking at the problems I'm having just testing the code, I'm wondering if it was a mistake to use a Dynamic View.
Are there any reported problems with using Dynamic View on a file-shared coding project with RAD 7.5 that we should be aware of? And are there any fixes for it? Please note that while it wouldn't be ideal, 'switch to static view' would be an acceptable 'soultion'.
If you operations involves not just punctual read access, but massive read/write operation, I would recommend using a snapshot view, and see if the issue persists.
You can customize the load rules in order to load in said snapshot view only what you need.
I'm trying to figure out the best way to backup all of our Salesforce metadata in our full sandbox.
We've had a large team working on numerous areas of Salesforce (configuration and development) and we've promoted all that code to our full sandbox. Before moving to production, we want to backup all the metadata. We are not concerned about actual data. We just want to make sure we backup all the metadata in our full sandbox, then promote to our production instance and finally do a refresh of our full sandbox.
We thought about using a change set, but that would be horribly tedious, time-consuming and would it indeed grab all metadata.
Would creating an unmanaged package be an option? I've never done anything with packages, so I'm in the dark on that process. Would it be easy to grab all the metadata?
I've read about options using the ANT Tool, which I have no experience using and it seems to be a little tricky to setup and configure.
I use Eclipse regularly, I don't believe Eclipse can grab all the metadata (approval processes, etc.)?
Any insight and help on solving this would be greatly appreciated.
Thank you.
I'd like to suggest using a version control. It's the best way for managing all changes into your project, store history of changes and comfortable team work. I prefer git but you can select any other.
For managing changes which can't be retrieved via Eclipse/ant migration tool or any other tool I use file named "NonMetaDataChanges" which stores all configuration steps which should be performed on fresh org for setup application before and after deployment of metadata. usually these manual changes takes no more than half a hour.
Also I've just checked that Approval Process can be retrieved via Eclipse.
Isn't the easiest way to create a metadata backup to create or refresh a sandbox? Other than custom settings, what will it miss? With the sandbox change-sets could be create to return production to a happier place.
The best path, I agree, is to put all changes under version control. But until all metadata can be extracted and re-imported, some kind of all-of-the-above approach must do.
While analyzing Appstats traces for datastore_v3.Get calls, it would be very helpful to know which entities are being retrieved from the datastore. Is there a hidden configuration flag that enables this?
I have tried setting appstats_DATASTORE_DETAILS to True in appengine_config.py, but it doesn't seem to make any difference.
As far as I know there is no hidden configuration flag to do that. The sources of the Appstats module are open.
You can view them at https://code.google.com/p/googleappengine/source/browse#svn%2Ftrunk%2Fpython%2Fgoogle%2Fappengine%2Fext%2Fappstats (python version) and https://code.google.com/p/googleappengine/source/browse#svn%2Ftrunk%2Fjava%2Fsrc%2Fmain%2Fcom%2Fgoogle%2Fappengine%2Ftools%2Fappstats (java version).
You can search there to see if there is already something like that or you can copy the code and make the changes yourself. You can even send back a patch with changes that can be integrated into the sdk.
We are developing a WPF/C# application and having trouble corrupt font caches. Many of our users have old video drivers which are particularly buggy in regards to the font cache. We've worked with individual users to upgrade the drivers which usually solves the problem, but the problem only comes to our attention after the user has experienced a problem which makes our software unusable (which makes it look like our bug, not microsoft's).
We use only 2 fonts in our application at the moment. Can I tell WPF to bypass the font cache altogether to prevent these problems for our users when they're running our software?
You might want to consider to not let the users with correct drivers suffer for those without.
Perhaps you can add a warning in the setup.
That said, you could stop the cache service (it is a service) but you need to be an administrator to stop services.
You might also have a look at clearing the font cache
Or you could see if delayed loading the fonts will help.
I do my web development and testing on my laptop running an installation of xampp - I upload things to my host, but I always go through cpanel's file manager to do it. I realize that there's definitely a better way to go about it, but I need to be pointed in the right direction to do so, also other tips on how to manage stuff would be appreciated.
FTP - can I keep my site's stuff synched to a local directory on htdocs so I can keep my site backed up on my computer yet update the site with whatever changes I make locally? Can anyone recommend a good client (preferably free) that I can use to do this?
Database stuff - how do I backup / sync databases in the same way? Ideally I'd like to do the same thing as with my files. Merge / upload whatever I've developed with a click or two. Is this possible? Is this wise?
Any help and advice would be appreciated. :)
I do my development in Eclipse which allows me to combine development and sync via FTP in one environment. It will also tell you if a file changed on the server and allow you to decide whether to override it or not. You can also disable the syncing of certain types of files with pattern matching and use other technologies like WebDAV or SSH to sync (if supported by your host of course).