I am implementing OneSignal push notifications with rest api so I want to set large icon and small icon to the notification but it is difficult to configure. What I did till now:
I have generated icons using Android Asset Studio.
I have created OneSignal folder inside resources folder.
In OneSignal folder I kept different size icons.
In config.xml file:
<platform name="android">
<resource-file src="resources/onesignal/drawable-xxxhdpi/ic_stat_icon.png" />
</platform>
Can you please guide me how to achieve this.
Is it possible to send an icon from my backend Node.js (Using OneSignal rest API).
Looks like you have two separate problems:
Problem 1: Add Android icons to config.xml
Follow section 4 of OneSignal icons documentation:
<resource-file src="locales/android/drawable-mdpi/ic_stat_onesignal_default.png" target="res/drawable-mdpi/ic_stat_onesignal_default.png" />
Problem 2: Dynamic icons through REST API
I am not sure if this is possible.
Related
I would like replace inbuilt Q logo with custom company branded logo.
Is there an easy way QuestDB update logo?
my friend at the moment it is not possible to customize the logo in the web console
It's possible to update the logo you'll have to navigate to the root directory, this is different depending on your operating system: https://questdb.io/docs/reference/command-line-options/#default-root-directory
If you replace the favicon.ico / favicon.svg in the 'public/assets' folder, the icon will change on the web console. However I am not sure if this change will be kept when you upgrade to a newer version.
If you replace the favicon.ico/favicon.svg in the public/assets folder, the icon will change on the web console, but it won't affect the original application once its upgraded.
I'm developing a Bot to integrate in website using Amazon Lex, I have downloaded the source code of github /aws-samples/aws-lex-web-ui but nowhere can I change the UI to adapt it to the design of the website.
Any suggestion to achieve this?
From the documentation
The sample pages available from the test server include index.html and parent.html which demonstrate how to load the chatbot UI component as a full page or as an iframe respectively.
Referenced pages: index.html parent.html
You can include a file custom-chatbot-style.css from "aws-lex-web-ui/dist", download it, add it to your page or project and make changes.
This way you can change the style of the current component.
Refer this link:- https://catalog.us-east-1.prod.workshops.aws/workshops/20c56f9e-9c0a-4174-a661-9f40d9f063ac/en-US/web/theming
you can find custom-chatbot-style.css here
https://github.com/aws-samples/aws-lex-web-ui/blob/master/dist/custom-chatbot-style.css
As I am new to dotCMS, just wondering is it support any script through which I can upload/publish my multiple contents(i.e well structured directory) as whole. For example I have multiple text files with contents to publish how can i do this in one shot ?
I know it support dynamic content page, but seems that works on already created content/page.
There are two ways:
You can either put all the content in an Excel file and use the "import content" option of the "Add new Content" button in the dotCMS admin "Content" tab. To know what the Excel structure should be, first download a piece of the content you plan to upload by clicking on the "Export button in the same page".
The second way is to use the Restfull content API. Check the documentation on how to use it.
I have added new report to EMM, but as the report data recorde are too much, I would like to wrap them in multiple pages like configuration tab (users, roles and policies), How can I fix this or how it works for those tabs?
Thanks
WSO2 EMM is built on top of bootstrap 2. You can add Bootstrap tabs as mention in following doc and have multiple tabs on your page
http://getbootstrap.com/2.3.2/javascript.html#tabs
Edit:
WSO2 EMM 1.1.0 is built on top of a Jaggery MVC framework.
Create a report by adding a function to emm/controller/reports.js. This is a controller and you can use modules to retrieve data to the controller. see devices_complience function for example in the following file
https://github.com/wso2/product-emm/blob/master/modules/apps/emm/controller/reports.js
Add the corresponding view file to emm/views/reports
Eg: https://github.com/wso2/product-emm/blob/master/modules/apps/emm/views/reports/devices_complience.hbs
Add a link to your report in the emm/views/reports/index.hbs file
If you need to have additional java-script functions you can add them to emm/client/js/reports/reports.js file
I should edit "Carbone_Home\repository\deployment\server\jaggeryapps\emm\client\js\reports.js" file to managing record on table.
"sDom":"t"
to
"sDom":"<'row-fluid't<'row-fluid'<'span6'i><'span6'p>>"
and for setting number of record per page I should set this :
"iDisplayLength": 10,
which uses emm\assets\jqueryext\datatables\jquery.datatables.
We have migrated brightcove from one environment to another by taking items related to brightcove from the existing environment and moving files manually.
However in the new environment brightcove seem to be working(I tested brightcove import/export/cleanup by adding those buttons to MyToolbar as shown in screenshot 2) except for the below issue.
Issue: ”Media Framework tab is not visible in the ribbon”
Screenshot 1
ScreenShot 2
Can you help me on this? Any idea on how to enable that tab?
Package Details are as below:
Sitecore Media Framework rev. 130924.zip
Items in the above package:
core\sitecore\content\Applications\Content Editor\Menues\Media Framework
core\sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework
core/sitecore/content/Applications/Content Editor/Ribbons/Strips/Media Framework
core/sitecore/content/Applications/Media/MediaFramework
core/sitecore/content/Applications/WebEdit/Custom Experience Buttons/Embed Media
core/sitecore/layout/Layouts/Media/EmbedMedia
core/sitecore/layout/Layouts/Media/Uploader
core//sitecore/system/Field types/MediaFramework
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/Embed Link
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/Embed Media
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Toolbar 1/Embed Media
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Toolbar 1/Embed Link
master/sitecore/layout/Placeholder Settings/embedMedia
master/sitecore/layout/Sublayouts/Media Framework
master/sitecore/media library/Media Framework
master/sitecore/system/Modules/Media Framework
master/sitecore/system/Settings/Analytics/Page Events/Media Framework
master/sitecore/system/Settings/Analytics/Reports/Reports/Media Framework
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Completed Videos
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Popular Videos Started But Not Completed
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Started Videos
master/sitecore/system/Settings/Buckets/Settings/Quick Actions/Media Preview
master/sitecore/system/Settings/Rules/Command Rules/Actions/Set Command State
master/sitecore/system/Settings/Rules/Command Rules/Command State Rules
master/sitecore/system/Settings/Rules/Command Rules/Rules
master/sitecore/system/Settings/Rules/Common/Conditions/Media Framework
master/sitecore/system/Settings/Rules/Item Saved/Rules/Clear Media Framework Rules Cache
master/sitecore/system/Settings/Rules/MediaFramework
master/sitecore/system/Settings/Validation Rules/Field Rules/Media Framework
master/sitecore/templates/Branches/Media Framework
master/sitecore/templates/MediaFramework
master/sitecore/templates/System/Rules/CommandStateRule
Sitecore Media Framework Brightcove rev. 130924.zip
Items in the above package:
core/sitecore/content/Applications/Content Editor/Menues/Media Framework
core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework
master/sitecore/system/Modules/Media Framework
master/sitecore/system/Settings/Rules/Command Rules/Rules
master/sitecore/system/Settings/Rules/Insert Options/Rules/MediaFramework Brightcove
master/sitecore/templates/Branches/Media Framework
Thanks,
Suhas
You missed the /sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Media Framework item.
Use AccessViewer and see which role is denying read access to "/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Media Framework" and "/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework" items in core DB.
I found read access to "/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework" is denied for "Sitecore client users" role, assigning read access to Media Framework chunk item and its descends fixed the issue.
Sorry to give an almost link-only-answer, but Maras is right. You haven't migrated the Sitecore user interface customisations, tools and commands across. These all live in the "core" database.
Mark Stiles has a blogpost that describes the Brightcove files and items in detail, here: http://www.markstiles.net/Blog/2011/03/16/brightcove-in-sitecore.aspx
Look for this section "Inside Sitecore itself there are also a good number of items that you should know about. First in the core are the content editor tabs. These are pretty essential to giving the end user a good UI to work with when they want to view a preview a video in a player or edit an item or even add images to a video. I'll go more into what those look like further into the article."