Configure Office 2013 add-in according to user specific settings - office-addins

We try to make our Office 2013/16 html/javascript taskpane add-in to work against our customers own servers, running our software, to display their pictures, and add them to Word/PowerPoint. Our customers have one or more domains they would want to configure so the add-in connects to one of them. If we ship this add-in on Office Store, we don't know all the domains our customers might want to configure, so the App domain list would be empty.
Is it somehow possible to add a App Domain to the manifest during runtime based on user input?
Is it possible to put a manifest file on a CDN that we can update when we want? This is btw not the solution we want as this requires internet access, and not all of our customers have that. But I'm still curious about the answer to this one.
Any other solutions to this problem?
Edit:
Our product is a web based product. We have a html widget inside our product which can be used in for instance a CMS, or as we try to do now, add it to the taskpane add-in for word and Powerpoint. The widget can be located on a specific url, on a given domain. Since the widget is part of our product, and our customers are choosing which domain they run our server product on, we can't preconfigure this in the add-in.

1.Is it somehow possible to add a App Domain to the manifest during runtime based on user input?
No. There is no way we can config the manifest at the runtime.
Is it possible to put a manifest file on a CDN that we can update when we want? This is btw not the solution we want as this requires internet access, and not all of our customers have that. But I'm still curious about the answer to this one.
No. In this scenario, we need to publish the manifest to the Office store.
Based on my understanding, the domains specify in the Office add-in only enable users navigate the HTML page in the task pane.
work against our customers own servers, running our own software, to display their pictures
Usually, this does not require the app domain configuration. Would you mind share more detail how the users connect their service?

Related

Build salesforce integration like hubspot or workbench

I'm created a connected app in salesforce and consume contacts in my application, but for this, a need a consumer key from connected app.
I would like to create an application that consumes my customers' contacts without them having to create a connected app and generate a consumer key, in order to access their list
I saw this in a hubspot integration in salesforce, where it was possible to install a hubspot package and consume the contacts, I tried to create something on the appExchange but I was unsuccessful.
Can anyone tell me a tutorial for this? I've been searching for days and I can't find anything.
without them having to create a connected app and generate a consumer
key
Good. They don't have to. Have you actually tried connecting with 1 org's client id/secret to another org? Have you hit any issues?
Think about it. You're making a new awesome mobile app that connects to Salesforce. You'll want to make it work just like that, on any phone, any SF org, without org admins having to do any installation steps. You can generate OAuth2 keys in any org, even your personal Developer Edition. You could generate them in sandbox - but they'll be deleted when you refresh it.
Check if my answer https://stackoverflow.com/a/69810951/313628 helps you understand the whole thing.
Now, there might be some things you do want in every org, maybe some config custom table... You'd have your mobile app and then maybe a Salesforce plugin published on AppExchange. But that's battle for another day and you don't need it for basic functionality.

Database app, accessible from Mac, iPad and Web

I feel very out of my depth with this query, but not being able to do it isn't really an option so I am going to have to learn how one way or another.
I have been tasked with building an application / database for a Chauffeur company. I have done similar things before in Microsoft Access for other customers, hence getting this request, but this customer wants to be able to run the app on their Mac, and not install Windows. My only real experience of coding is HTML/CSS and some VBA when using Microsoft Access. For these Access DBs I have created separate front and back end files to allow multi user access and also remote access (the back end file being kept on the company server).
So onto my query (apologies for dragging it out)...
I need to be able to build something that the single user can open and run on his Mac, so he can view, add, change jobs and their details. He also needs to have the same access on his iPad, although purely viewing would suffice.
As regards the web access, basically he wants to be able to go onto his "Booking System" application, go to "New Job" and send a link to his client, where they would click the link in a browser, fill in the details (Name, Contact Number, collection and drop off addresses, collection date and time etc...) and when they submit this form the details be updated on his booking system.
My issue is I do not really know where to start. I just need some pointers as to where to get started. Is it an issue of building a MySQL database back end and then hosting this somewhere and linking different front ends to it etc...
Yes, with multiple clients, the web is your best answer. For the cheapest hosting route, you can find good, inexpensive PHP and MySQL hosting that will provide what you need. You can design the front end with HTML/CSS, use PHP to develop the logic and data access, and use MySQL to host the data.
The Mac and iPad can access the application via the web URL--you will not be building an iOS app, rather the user will access the web site through a web browser. You can use some pretty neat tools like jQuery UI Mobile to create an app-like experience, but if you need to support multiple clients on a small budget, an iOS app and separate web site is not the way to go.
Make sure you have some PHP expertise available or figure this part out. There are tons of great resources on the web to get started. Good luck!

Limiting Registered User to their own unique Folder on File Manager

We are using DNN 6.2 and are attempting to limit Registered Users so they can upload content to their own Unique Folder. We are not wanting to do this by user role.
Some examples where this is an issue are when a Registered User is uploading content using the wysiwyg, or when using the DNN module Form and List. Currently all Users can see all content on the portal. The goal is for the user to only see their own uploaded content.
Also, we would be open to purchasing a module if that is the simplest way to achieve this goal?
This is not possible out of the box. You can implement your own folder provider based on existing one to do this. Look at this article for more help

hiding report structure in SSRS

I am using Visual Studio 2010 to design SSRS reports.
The report is successfully published and will have a link such as below:
http://hostname/ReportServer/Pages/ReportViewer.aspx?%Reports%2fDistributed&rs:Command=Render&rp_db_catalog=ts
Now when the user goes to the link,
http://hostname/ReportServer
it will show them the rest of the reports available which is a security concern.
Is there a way to hide the report structure from the user?
Thanks,
Bruce
I don't think you can "hide" it, nor should you. You'll need to use another method to secure your reports. Here are a few options:
Secure within the web frontend you're currently using. You'll need to set up user accounts and roles, and permissions for folders. Here's the MSDN starting point, from there you can get to securing folders.
Deliver your reports through Sharepoint, see this bit of MSDN for a starting point.
Integrate ssrs in your application e.g. using the SOAP webservices, an asp.net or winforms app, or through URL access (that last option may even be quite close to what you want).

How to embed ads in WP7 app?

I want to know how to embed ad frame into my WP7/WP7.1 application.
I also want to know places that I can get the ads from to put in the app.
Everything you need to know is provided right here by Microsoft. The control is included in the Windows Phone SDK and can be dropped right into your app (AdControl in the Visual Studio Toolbox).
You cannot directly control which ads are shown but you can influence it in some way (cited from FAQ):
As noted above, the most relevant ads will also be the most likely
ones to get you the most revenue. So the same advice holds true:
If your app is location-aware, provide that info to the Ad Control.
Set as many of the demographic targeting properties in the Ad Control as you can for each user.
Set the right category for the Ad Unit in pubCenter.
If you have a set of relevant ad keywords, set those in the Ad Control.
For more tutorials I strongly suggest a Google/Bing search as there are plenty of these.
Also, once you get the hang of using this AdControl, take a look at AdRotator (on CodePlex), as well as AdDuplex (AdDuplex.com). With AdRotator, you can rotate MS ads, Google ads, AdDuplex ads (to trade advertising other people's apps for them advertising yours). This can be beneficial to you, depending on what part of the world you are targeting. Not every country can see MS ads yet, so if you are targeting outside of MS's supported countries, this can help you. Also, you can configure AdRotator using an XML file on your web server, so you can change your ad mix by changing the XML file, and not have to push a new version of your app just to change ad mix.

Resources