Using the default appcelerator template Im sending a password reset request. The mail subject is
Password reset request for My-wierd-appname-development
and at the end of the email it says:
Regards,
My-wierd-appname-development Team
This appname for development was a name I had no intention to show the end user. I've tried changing the <name> entry in tiapp.xml but the app name seems to be taken from what was initially entered in arrow db. Is there any place I can change this appname that appears in the mail without using custom mail templates?
Changing the subject could be done by setting the subject parameter in the Cloud.Users.requestResetPassword request, but it still uses the appname in the bottom. I just don't know where it gets this appname and where to change it?
Its also adding "development" to the end, does it show "production" in prod env mails?
Never mind, I just ended up using a custom template as it provided a lot more flexibility and options for editing sender names etc.
Related
While registring a new Machine with static templates via MQTT I couldn't find a way to put something into the "Notes" Field at Device Profile in the Device Info.
Is there a template or another way to put some additional Information in that Textbox?
There is no static template for setting the notes but you can create your own inventory PUT template. The fragment for this text box is simply c8y_Notes which is a string.
To use the template you would send:
123,<serialOfDevice>,"My device notes"
I recommend to use quotes for longer strings to handle line breaks etc. correctly.
is it possible to for example - write a background service, which randomly changes the windows phone theme, I mean is it possible to access the windows phone theme under settings via code? and change it?
if so can you please give me an example of the API's I can use or additional libraries I can dl
thank you
Unfortunately you can't. It is not possible to change the Windows Phone theme by code. The only one who can is the user. This is part of the Windows Phone concept.
The only thing you can do is defining themes that are used in your own apps.
Sorry for the bad news...
You are allowed to change the theme for your application. There is a Nuget package available that makes this even easier. You could accomplish changing it in a background task by setting a property that you check when the app opens.
// background agent code
// get random value
IsolatedStorageSettings.ApplicationSettings["Theme"] = randomValue; // this is just a string or something simple
IsolatedStorageSettings.ApplicationSettings.Save();
When your app opens, you would check this value
var theme = "Standard";
if(IsolatedStorageSettings.ApplicationSettings.ContainsValue("Theme"))
{
theme = IsolatedStorageSettings.ApplicationSettings["Theme"];
// Set the theme
}
You can modify the source of the Theme Manager by downloading the source from github. Here is some more info on the Theme Manager. If you would like to change values yourself, you can accomplish this by setting the resource values when the papp starts
((SolidColorBrush)Resources["PhoneAccentBrush"]).Color = myAccentBrush;
((SolidColorBrush)Resources["PhoneBackgroundBrush"]).Color = myBackgroundBrush;
((SolidColorBrush)Resources["PhoneChromeBrush"]).Color = myChromeBrush;
((SolidColorBrush)Resources["PhoneForegroundBrush"]).Color = myForegroundBrush;
Is it possible to change the name of an app which is already in the windows 8 store through an update ? I can imagine that the actual name can be changed through the manifest file but what about the name in the store ?
Here is an guide on MSDN about the things you have to do to change the name of your app:
http://msdn.microsoft.com/en-us/library/windows/apps/hh868182.aspx
Tried it myself and it works like a charm!
I guess it should be possible - the app name is determined by the name in App Manifest. The only problem might be if the new name is already taken by someone else.
We are using luntbuild-1.6.2 for build automation. We would like to add a couple of variables in the email notification sent via luntbuild like subversion location etc.
Is it possible to modify the email template for luntbuild?
After reading the manual once again I was able to locate the files where the template resides.
Simple edit
<luntbuild installation path>/templates/email/simple-build.vm
file and you can customize the template using a set of predefined variables.
I am unable to get an XMLHttpRequest object to work correctly in a Dashboard widget I am writing. I've isolated it to a trivial example not working in the global scope of the main.js file:
xhr = new XMLHttpRequest;
xhr.open( 'GET', "http://google.com", false );
xhr.send('');
When the last line is executed I get the error "ABORT_ERR: XMLHttpRequest Exception 102" (this is in the Dashcode debugger).
Does anyone have any idea what could be wrong here?
You need to select "Allow Network Access" in the "Widget Attributes" pane.
OK, I've found it (three hours): you need to add the following key to the Info.plist file:
<key>AllowNetworkAccess</key>
<true/>
I've got the same trouble unresolved even after AllowNetworkAccess were added to my info.plist. I've tried to change this key to AllowFullAccess, but nothing changed. After system reboot it worked fine o_O
The steps to take are:
From the menu, choose "Dashcode > Preferences..." and click on the Destinations tab.
Below the left column, click on the plus sign to create a new destination.
For an external website, choose FTP in the Type drop down. Fill out the Server, Path, User name and Password. Close the Preferences pane.
Back in Dashcode, click on the Widget Attributes icon in the left column.
Check the boxes of Allow network Access and Allow External File Access in the main column.
You should be able to run the widget without the 102 Exception error (if you are online)