Personnalized Microsoft Teams connector config page - microsoft-teams

Question
How can I make my Microsoft Teams connector config page look like the ones bellow?
Details
I'm creating a teams app with a connector. The documentation explain how to make our own config page. (for example here and here). It works for me 👍.
But in the app directory, I saw multiple existing connectors that share the same config page structure. (name of connector, then webhook, then instructions to install)
This structure would be good for me but I did not found how to configure my connector to use that template.
Thanks for help 😀.

Related

Is there a way to update connector configuration using MSK-connect API?

I have an s3 connector deployed on MSK Connect, and a repository on github with the json connector configuration file. I'd like to update the connectors configuration on demand via MSK's REST API. I've checked the API documentation, but it seems like the UpdateConnector API only allows to modify the capacity configuration. The CreateConnector API does allow to provide connector configuration, but it returns an error if the connector already exists.
I could delete and then recreate the connector, but this doesn't seem like a good approach.
Is there another way to update a running connector configuration?
If the Connect REST API is not directly accessible in other ways, then it seems that delete/recreate is the only option.
For sink connectors, that's a relatively safe option because consumer offsets are tracked by the connector name itself and there's no state stored outside of the internal Connect topics
Based on an answer I got from AWS, it's indeed not supported at the moment. It's in their roadmap, but they don't have an ETA at the moment.
They suggest to follow the information here, for upcoming improvements.

How to manage MS Dynamics 365 CRM Portal custom codes?

I would like to know how to auto manage portal's custom code just like in TFS/VSTS?
At present ,I am using XRMToolbox to manage ,push or pull portal's code into CRM Instance but disadvantage is code checkin and checkout.
Can anyone help me in this to manage a code with auto pull and push option into CRM instance with checkin ,checkout options?
Thanks in Advance!
I'm afraid the XRMToolbox plugin doesn't support it yet.
Ref: https://github.com/MscrmTools/MscrmTools.PortalCodeEditor/issues/13
But there is no stopping you from creating your own pipeline - at the end of the day portal code is just bunch of Crm entities. Part of Crm SDK is configuration migration tool - last version is here:
https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf
So the idea is:
1) Get this tool
2) Define entities you want to backup & create schema xml file for them. I think you'd want adx_webpage, adx_webfile, adx_pagetemplate (and all attributes from them)
3) Export data using this schema - this exports them to .zip package that contains simple structure (schema file and data file); so you can unzip it and store in your git branch (pull)
4) For push zip this file and again use configuration migration tool to import the data
This gives you also an opportunity to have separate dev version of portal code and production version of portal code (which is always a good thing).
Portals code is made up of configuration changes to a solution (which can be extracted as xml) and data (records such as web pages, web roles etc.)
There are several tools available to help you source control both.
xrm-ci-framework provides automation tools to extract your CRM solution as xml, and then source control it. You can do this locally or in the cloud with Azure DevOps or other.
msbuild-xrm-sourcecontrol is similar. It integrates into Visual Studio to help you extract CRM customisations locally. It also has a partner project xrm-datamigration which helps you extract data from CRM, version control it and deploy it to other environments in your release pipeline. Both have documentation on the GitHub pages I've linked; this blog post is informative too.

Add configurations for Connectors in Microsoft Teams

How do i add configurations for users, when they want to add my connector?
F.x. if I add the GitHub connector, I have to sign in, and then select which repository it should work using.
I cannot find any examples in the manifest for where to define these.
Please have a look at Build your own Connector documentation. All your configurations can be added in the landing(configuration) page. Please check sample connector code given in Microsoft Teams documentation.

How to enforce v2 bosh manifests?

I understand from experience and the documentation that bosh directors (v257+) do not enforce v2 manifests by default.
Moreover, I understand that a team admin cannot update the cloud-config.
However, when using a v1 manifest, a team admin can write a deployment manifest that overrules the cloud config. The team admin simply gets a warning Deprecation: Ignoring cloud config. Manifest contains 'networks' section.
In a setup where bosh's team functionality is used, is it possible to configure the bosh director in a way that team admins are forced to use v2 manifests and cannot ignore the cloud-config?
According to the information I got in the official slack channel, the short answer is: "no".

Bluemix and CMS (Joomla) and CF Push

I have installed a Joomla site with CF on bluemix.
As you know Joomla as other CMS allows to install components for adding functionalities.
This uploads the php code needed for the component and add additional tables/entries in the Database.
My issue is that when I CF PUSH, the new component script is removed from the joomla folders on bluemix, and the database still contains component's tables/entries.
I guess this is the situation for all CMS (Drupal, Wordpress, Joomla, Vbulletin, etc..).
How could I get a kind of CF PULL (?) to keep the modified CMS code including the new component locally on the computer side ?
So when i will redo the CF PUSH the installed component will not be erased.
Thank you in advance for your support,
Best regards
Yves
There is no cf pull command in Cloud Foundry. The closest you would have is the cf files app-name command that you can navigate the directory structure of your cloud application and get specific files as needed, but this would be really tedious if you have multiple files to copy to your local computer.
It looks like Joomla fits better with the IBM Containers service in Bluemix. With the IBM Containers you can have an Docker image from Joomla (https://hub.docker.com/_/joomla/) and use persistent Volumes to save your added functionality. You can also use any Bluemix services (like a database) with IBM Containers.
The article below provides more details and step by step instructions to create an IBM Container for Wordpress. You can easily modify it for Joomla:
http://blog.ibmjstart.net/2015/05/22/wordpress-on-bluemix-containers/
When you push an application on a runtime, php Java or whatever, it will restage all the application sources, included what has been configured and modified before through the cms interface, leaving the db databases untouched. And it is for joomla, but also for drupal or WP or any other cms. By this way to achieve what you wish you have 3 options:
- push exactly the filesystem structure you need on Bluemix, including the configuration files and modules to use on it
- use (as suggested above) a container instead of a runtime: anyway also with a container you have to install your cms on an external docker volume, otherwise the cms will be reset every time you restart the container
- use a Bluemix VM

Resources