I am just learning Umbraco and I have a basic template that has just one alias. What kind of controller should I code for it? Could you please give me an example to reach my alias from js frameworks?
Solution
I have used UmbracoCms.RestApi extension from NuGet and solved my problem.
You can use default endpoints to get properties that you have created in Umbraco Cms before with that extension. There is a video about that.
Related
I would like to add to an app the directions from the Google maps as seen bellow, but the information to come from the google maps when I am starting the navigation (a route on the main Maps App. Would that be possible? And if yes, where would I start?
EDIT: This post describes better the issue I'm having, and it even provides a Kotlin library that can be used.
You can use Mapbox API for Navigation. It's a very great library to use.
Check this tutorial for implementation.
Check the example that you want exactly.
Basic UI Navigation Example
BETA => Turn-by-turn navigation
This can be solved using the notification Listener Service. There is a Kotlin library that can be used.
has anyone tried using Tabulator in a Polymer 3 project?
Polymer is not supported by Tabulator but maybe someone has tried to integrate it.
Thanks
Tabulator is a vanilla JS library, as such it will work in any JavaScript Frontend Framework without issue.
The supported frameworks list on the website simply demonstrates how to set it up with those frameworks. If you follow the standard Quickstart Guide you should be up and running in no time.
With most frameworks it is simply a matter of passing a reference to the div created by the framework into the first argument of the constructor instead of the CSS selector string.
You would normally need to instantiate Tabulator after the render phase of your particular framework.
If you do get something setup then please submit some simple demo code as an issue on the Tabulator Git Repo and i can add it to the website to help others
The Framework Documentation includes several examples of setting up Tabulator in a frontend framework that should give you some pointers on how to address the issue.
Can someone provide me a default polymer template where i can see the structure of it.
I couldn't find a template which has all the features, which i could use for a static mobile app.
If you are looking for a basic scaffold (project structure) then there's a great video by Rob Dodson from polymer team.
PS: You need to know about YEOMAN
I'm in the process of deploying an xpages 8.5.3 app which users the xpages ext library.
Internally the app is working great, but for our ipad users to access it they need to go through a citrix gateway. It appears that the gateway is not allowing a couple of the files through. We are getting and error.
Could not load 'extlib.dijit.DynamicContent'
The network guys have found details that indicate it might be the way that the path's are defined in the Java script some use () and other use []. I need to know which one you use in domino to access the built in ext script libraries. Does anyone know?
http://support.citrix.com/article/CTX122319
Thanks
I had the same problem. I ended up publishing the application as an App instead of a website. It was a change in how the app is deployed but it seemed to work. I know, not the answer you were looking for... If you do find an answer I am very interested in hearing it.
We have a medium sized .js file that we include in our web framework that I am porting over to SharePoint. However, I'm not sure how to go about this or what the best practice is. This is for a framework solution that will be used by other client projects, so it's best for it to be self contained and deploy-able, rather than requiring manually deploying files to the webserver.
My current thinking to put the JavaScript into an embedded resource and then use the script manager to write out the file. Does this seem reasonable? Or does anyone have any other recommendations?
Embeded resource is the best way and you don't need to use the ScriptManager to render it out (as AJAX is not configured OoB on SharePoint), you can just render it as any other client script resource (through the ClientScriptManager).
Best idea is the have an if ContainsScriptManager else UsClientScriptManager style.
That way you get the best of both worlds
You could just toss it into a doc library.
If you are packaging your web part into a sharepoint solution, you could include it as a Module (VSEWSS item). Your manifest file would get something like:
<TemplateFiles>
<TemplateFile Location="LAYOUTS\somescript.js" />
</TemplateFiles>
Theres lots of info on how to do this on the web. I've liked the doc library option for images, css, and javascript because I don't have to rebuild and wait for for SP to JIT compile for 30 seconds each time I do a minor tweak to some style or script. I just edit these things in SPDesigner right out of the doc library.
Create resource mapped folder in your project and put the js file there and give the referene of the js file as _layout/jsfilename.js and this js file will be deployed with your project where ever you will deploy it.