How to add Config Transforms in Website Projects - web-config

I am trying to add config transform in the Website Application in Visual Studio. Right now, it works only for Web Application projects. Is it possible to add them in WebSite Projects also? If so, how do we go about doing that?

Under App_Data\PublishProfiles, right click on a publish profile (*.pubxml) and choose Add Config Transform.

Related

Customize initial project template for Flutter

I am trying to customize the starter template for a Flutter app. For projects that I work on I follow a very specific structure with my Themes, Blocs, Listeners, etc. I would love it if I could customize the starter template for Flutter so that I have everything all laid out and ready to use on doing something like flutter create .
I am aware of where the template is located. I was able to go to [flutter_dir]/packages/flutter_tools/templates/app/lib/main.dart.tmpl and customize the template.
But I am not able to figure out how I can add a new file/directory there. Let's say if I create a new file called config.dart.tmpl in the same directory as above, it does not get generated when I do flutter create
Any ideas how to get this to work or where I should be looking?
NOTE
I have already tried out other options like Mason. It works fine for me, but I am more interested in doing it with default flutter tooling.
Already seen https://stackoverflow.com/a/61974852/6891637 and IDE file templates is not what I am looking for.
Currently there's no easy way to create a template similar to skeleton, package, and plugin. There's an open issue ticket for this feature. However, if you really need to create one. You can explore how skeleton was added as a template on this pull request.
Or as a workaround, you can just create a Flutter project template on your repo and fork it when starting a project.
This is the current issue about this topic : https://github.com/flutter/flutter/issues/77104
As Felix Angelov said, Mason and VeryGoodCLI are the best alternatives right now.

Restriction for downloading Source Code from RTC Web Client

Here My scenario, Developers and Testers are part of the Project but only Developers should have rights to download Source Code from the web client whereas Testers should not have rights to download Source Code from the Web client. I checked with Access Control but I didn't get any idea regarding to the scenario. Please suggest some ideas to My scenario.
Regards / Kiran
You can start checking out "Controlling access to source control artifacts in Rational Team Concert".
It does list for instance "Read protect some files or folders within a component but give public access to others", which could fit your requirements.
Drill down and find the sensitive file or folder.
Select Change Access Control from the context menu
In the resulting dialog, select the Project area or team area option, click Browse and then select the private JUnit Project. Click OK.
The visibility of the file is now dictated by the JUnit Project so only members of that project can see the file.
A better solution is to assign those who are not developers, a contributor license. That provides read only access to all source operations. If you want to remove the link from the web client, you can create a custom theme and add that to the server. This would require working with the HTML/CSS/JS.

How do I create and deploy custom settings for Salesforce, in Eclipse?

I have some custom settings in my org, but I do not appear to be able to synchronise them with my project in Eclipse. I've scanned the 'Add/Remove Metadata Components', but I can't find anything related to custom settings. Nor can I find a new Force.com object of type Custom Settingngs.
I want to deploy my changes from Eclipse, to a different sandbox, but of course the custom settings are missing.
Is this just not possible or am I missing something?
The custom settings should be available as a custom object on the object's list.
Did you refresh your metadata definition from server? (take a look to marked button on the screenshot below)

Auto upload files in included path using Netbeans

I have a NetBeans javascript project with several included paths for plugins. I do not want to include the plugins in my core repository, so I have created separate, external folders for each and am including them via an include path. Because I test across many devices, I need my changes to upload on save and this works fine for the main code base, however, I would like to be able to edit a plugin via the include path and see those changes auto uploaded as well. Is this possible?
As of right now, the only alternative I see is to create separate projects for each plugin, which I am willing to do if this is the only option. The single project workflow is very preferable to me and I might be willing to switch IDE's if this is possible in another environment.
I would be happy to elaborate if my intentions are unclear.
I don't think it's possible. What about creating one single "umbrella" project for all plugins and simply manage it the same way you do the main project?
Personal note: What you have is basically several projects and the uploading is focused always on single project. So what you want is like "I want to treat them as projects but not to at the same time" :) Btw, how do you edit a plugin? I guess open it as a project in NetBeans or use some text editor. So again you basically treat it as a project.

Eclipse RCP: Add project to CNF-based Navigator

I am working on an RCP application. Currently, I am stuck on trying to get the project created from my custom wizard to open the files in my CNF-based navigator. I am not really sure whether it needs to be done on the navigator-side or the wizard-side.
I came across a couple tutorials that put me on the right path. It turns out I needed a model for the project hierarchy and label/content providers.
http://cvalcarcel.wordpress.com/2009/07/11/writing-an-eclipse-plug-in-part-2-creating-a-custom-project-in-eclipse-adding-to-the-new-project-wizard/
http://cvalcarcel.wordpress.com/2009/07/26/writing-an-eclipse-plug-in-part-4-create-a-custom-project-in-eclipse-new-project-wizard-the-behavior/
http://cvalcarcel.wordpress.com/2009/10/18/writing-an-eclipse-plug-in-part-7-creating-a-custom-navigator/