Error When deploying Salesforce lightning / Aura components with Eclipse - salesforce

I am trying to deploy a Salesforce lightning coponent thorugh Eclipse from one dev org to another but I am receiving below errors.
I am able to succesfully install the components through an unmanaged package but would like to konw if it is possible to deploy lightning components through Eclipse
Please see attached images for the errors.
INVALID_CROSS_REFERENCE_KEY ERROR
Eclipse unknown data type

For deploying aura components follow the steps below:
1) Open Package.xml in Ecllipse
2) Add following code:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>AuraDefinitionBundle</name>
</types>
<version>35.0</version>
</Package>
3) Refresh your project from server
Regards,
Ajay

I was able to deploy the complete aura folder to sandbox, i think you need to create a new project with aura components and its dependencies and try to deploy to the sandox.

Related

Error while upload packaged applications to Submission in partner.microsoft.com

I have a UWP app and a WPF console app for special SDK (can't work in UWP). Linked these apps with default bridge (aka FullTrust). Then I package them with default package project for Windows apps.
But when I tried to upload my .msixupload file to Submission in Microsoft Store, I got this message:
Package acceptance validation error: We encountered a fatal error while parsing the package: Value cannot be null. Parameter name: source. Try again or upload a new package.
Screenshot of error
Apps works fine in release. But can't upload a store.
This solution does not help
Found solution.
In package project file .wapproj, delete PackageReference with Microsoft.Windows.SDK.BuildTools
<Project>
...
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.19041.8" PrivateAssets="all" />
</ItemGroup>
...
</Project>

GitHub Deployment to Azure

I've tried to upload my Angular2 project from GitHub to Azure but I get the following error when I open the Azure page:
You do not have permission to view this directory or page.
The GitHub deploy to Azure worked fine, no problem. Does anybody know the reason why I still get this error message?
Here's my GitHub project
Here's my Azure website
You are using Azure Web App and Azure uses IIS to host your application. So, basically, you no longer need to handle your Angular2 project with the Node.js script.
Please try to delete your server.js file from /wwwroot folder, and also remove the following content in web.config file.
<handlers>
<!-- indicates that the app.js file is a node.js application to be handled by the iisnode module -->
<add name="iisnode" path="server.js" verb="*" modules="iisnode" />
</handlers>

App Engine not loading queue.xml

I have a multi-module style Google App Engine App. It has a main Java Enterprise Project (eap), which references 3 Dynamic Web Projects. All works great.
Except task queues.. I am trying to create my own custom taskqueue. I created a WEB-INF folder in my EAP project, next to the META-INF folder.. And I created a queue.xml file there (pasted below) .
When I go to the Administrator area of cloud.google.com and click Task Queues, I only see the 'default' queue, my push queue is not there..
Upon deployment, I see no errors, just:
INFO: Successfully processed C:/!zebrastues/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/zebrasear/zebras-feeder.war\WEB-INF/queue.xml
My queue.xml (in a WEB-INF folder in my EAP, also added into the WEB-INF folder of my dynamic web projects, but it is ignored there).
<?xml version="1.0" encoding="UTF-8"?>
<queue-entries>
<queue>
<name>feedq</name>
<rate>1/s</rate>
</queue>
</queue-entries>
According to app engine modules documentation, optional configuration files like queue.xml and datastore-indexes.xml apply to all modules and should be placed in the WEB-INF directory that contains the default module.

Mapping project-name and application-id in GAE

I am trying to deploy my project on the appengine. I use maven to build it. Name of my project (say, project-name)and the application-id on the appengine are different. Is there a way to map the application-id with my project? Every time I say,
mvn appengine:update
I get an error message like
This application does not exist (app_id='project-name').
Since I have not said which application-id to map it with, it attempts to find an application-id same as y project name. How should I fix this?
The appengine-application.xml and appengine-web.xml files contain general information used by App Engine tools when your app is deployed. Put your application ID (the ID you registered when you created your application in the Google Developers Console) into <application> element.
appengine-application.xml
<appengine-application xmlns="http://appengine.google.com/ns/1.0">
<application>your-application-id</application>
</appengine-application>
appengine-web.xml
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>your-application-id</application>
<module>default</module>
<version>v1</version>
...
</appengine-web-app>
All the App Engine Configuration information is store in the appengine-web.xml You must need to update them as per your google app engine project information.
For example my
project id : prabhatabc-2012
& i want to run my application on the version : v2
so i need to update my appengine-web.xml file project id(prabhatabc-2012) in <application></application> and version in <version>v2</version>
<application>prabhatabc-2012</application>
<version>v2</version>

Deploy GWT Application to Google App Engine using NetBeans

I try to deploy a GWT application, to Google App Engine using NetBeans.
I had successful run GWT sample http://code.google.com/webtoolkit/doc/latest/tutorial/create.html using Personal GlassFish v3 Prelude Domain, by
1) Copy generated source code from StockWatcher to C:\Projects\StockWatcherNetbeans\src\java\com\google\
2) Modify C:\Projects\StockWatcherNetbeans\nbproject\gwt.properties
gwt.module=com.google.gwt.stockwatcher.StockWatcher
3) Select Personal GlassFish v3 Prelude Domain, and run.
All works fine!
Now, I try to select Google App Engine server, and run. However, I get the error
"There is no appengine web project
opened!"
I check... There is file called
C:\Projects\StockWatcherNetbeans\war\WEB-INF\appengine-web.xml
with content
<?xml version="1.0" encoding="UTF-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://kenai.com/projects/nbappengine/downloads/download/schema/appengine-web.xsd appengine-web.xsd'>
<application>StockWatcherNetbeans</application>
<version>1</version>
</appengine-web-app>
I am using
NetBeans 6.7.1
GWT4NB (GWT Plugin for NetBeans) 2.6.12
Google App Engine plugin for NetBeans from http://kenai.com/downloads/nbappengine/1.0_NetBeans671/updates.xml
Anything I had missed out?
Even when I right click to the project, the Deploy to Google App Engine options is disabled.
And yes, please do not ask me why not use Eclipse.
Starting with GWT 1.6, static files
have been moved to /war.
Instead of using war folder, I rename it to web folder. The Google App Engine plug-in comes with NetBeans needs the files to be placed in web folder.

Resources