Microsoft teams deep link how to pass query parameters - microsoft-teams

I have created a custom bot, with yo teams generator, which is also registered in azure. In addition, I have a deeplink to this bot in order to display a task module, when clicked from teams, with html/javascript content. But I want this content to be dynamic and incject some values from my database into this content and to achieve this I must have the names of my database and my collection. Is it possible to add some query parameters into deeplink like we do in ordinary url links (e.g ?key=value), so I can query my database from the custom app?

deep link: teams.microsoft.com/l/task{APP_ID}?url=https://{DOMAIN}/story?name%3dhello%26last%3dworld.
So in order to be able to pass query parameters. Encode some symbols like = and & as above.Now you can grap for example the name and last variables from the above url.

Related

Google Analytics automate filter management

I use analytics.js and made some custom dimensions. One of my dimensions is "network".
When someone is reffered from a partner network I send the ID of that network to Analytics.
example:
when someone is referred from Commission Junction I set
ga('set', 'dimension1', '4000');
In my reports however, i replaced '4000' by '4000 Commission Junction'
For this I've made a custom search and replace filter on the custom dimension column
Question: is it possible to manage these custom filters in an automated way? Ideally I would like to import all filters from a file (eg excel or txt file)
It is not possible to manage filters using the API. There is a feature request for this that you can subscribe to.

Dynamics CRM Managed Solution Add Customer Set Parameters

I'm creating a solution which will be released as a managed solution for Dynamics CRM Online.
However, the customer will need to put information in when installing the managed solution to allow interaction with outside services.
For example, when you install the LinkedIn solution, you need to add your log in information to allow the CRM to access your LinkedIn account.
How do I add these parameters to the a solution, and then allow the customer to update them if they change?
Cheers
Edit:
To add to my query and following the answer below.
To make sure the process is correct in my head.
Option 1.
I will create a custom entity for storing key/value, or username/password combination.
I would then create a customisation page for the solution using html web resource, which when submitted, javascript would create a single record to hold those values.
I then need to link every record that needs the values stored in the custom record - I'm not sure how this would be done without editing a workflow after the storage record has been created, to link each normal record to the storage one.
Option 2.
Create an xml web resource that stores the values. Create the html/javascript resources to update this using the configuration page.
I can then use a javascript function to obtain that data when the custom entity is created, perhaps to populate hidden fields for storage and use behind the scenes.
I can't find any tutorials on getting started with using xml in this way - can you point me in the right direction?
I typically create a "Configuration" entity that has Name/Value attributes. This is also useful when you have Dev/Test/Prod environments that require different configs (e.g. URLs, credentials, etc).
Another approach is to using Plug-in configurations or Web Resources to store that type of information. The Plug-in configuration is pretty straightforward if you can have the customer use the Plug-in Registration tool to modify the value.

starting an autocomplete small project

I am not experienced in this field.
I have a database that contains a table with customer names. For example CUSTOMER_T contains
"customer1", "Nick", "Test", etc...I have a web server connected with the DB and let's say a method to get the "customer names". Also I have a small WEB GUI with a textbox, where the customer types a string and invokes the get method that returns the database results.
I want to enhance this functionality with an auto-complete feature, like google suggest. What do I need to install in the server and in the GUI? Please note that the list of customers is dynamic.
Does the server need a special capability - library?
Does the client need a special capability - library?
User JQuery, JQuery UI, and the JQuery UI autocomplete plugin. Start at the autocomplete plugin page.
You can use ajax for autocomplete and as just a query to bring back data in for the textfield

Is it possible to display and search data using orchard cms from an external datasource?

I'm just starting to play around with Orchard CMS. I like what I see so far, but I need to be able to create pages that display record details for data stored in another system. Does any one know if that is possible?
I have a SQL Server database that hold real estate property record information. This information gets displayed on the web. On that same website are informational content pages (FAQs, Contact Us, Home, etc...) What I would like to to is leverage the CMS portion of Orchard for the content pages. Then I would like to write a module using the Orchard that would get the real estate info, allow users to search parcels, and display detail pages for each parcel.
If you view the site http://www.sc-pa.com/search you can search by last name "smith" and select one record. That may help illustrate what I need Orchard to do.
Yes, that is possible, but your scenario is way too vague to get into any specifics. Can you elaborate on exactly what you are trying to do: what does the external data look like, where is it stored, how do you want to integrate it into Orchard, do you need any integration with content types and parts, or with search, etc.
One alternative is to expose ur data as web service or odata endpoint and then use jquery to do asynch call to get json data. Then ur home free.
Create a page and put the javascript in that or include a ref to js file.

Oracle CRM OnDemand custom web applet - add User object variables to URL

I have a custom web applet that I am adding to the Lead object tab of my Oracle CRM On Demand app. It is easy to include a variable in the URL via the %%%VARIABLE_NAME%%% convention but that seems to only work with the object itelse (Lead, Service Request, etc) Since the field I want to add is part of a different object (the User) it doesnt seem to be working.
Any help on how to add this would be greatly appreciated.
Here it talks about custom web applets, and under Fields it talks about adding a variable:
http://download.oracle.com/docs/cd/E14388_01/books/OnDemOLH/index.htm?toc.htm?creatingcwa.html
I got a definitive "not possible" from an oracle web service developer on this issue.
So turns out that in a custom web applet for one object you cannot have custom fields from other objects.
My work-around is to pass the unique userid %%%User id%%% back to my app and work from there.

Resources