specify project id for google app engine project - google-app-engine

When creating a new project from the Google Developers Console, it asks for a project name. If an id equivalent to that project name is available, it makes the id to be the same as the project name. If not, some unique id is system generated.
When an id is not available, is there a way to determine who owns the id? There's an id I would like to use, and I'm not sure who is using it (or whether I mistakenly used it in a different GAE project).

If you created the id (and you didn't delete it) you should see it in the Developers Console. If you deleted it you can't re-use it anymore:
Accept the generated project ID or supply your own ID. This project ID
is used as the App Engine application ID. Note that this ID can only
be used once: if you subsequently delete your project, you won't be
able to re-use the ID in a new project.

No there is no way to know this. You can visit the appspot version of the website (appid.appspot.com) and maybe gather something from there, but there is no way to know who is using it.

Related

Missing Composite C1 CMS Packages option

Picked up an existing project built on Composite C1 version 4.3, and I'm trying to install a package. All the information online says to go to System -> Packages -> Install Local Package, but I don't even see a Packages option on the System page at all.
I've tried to see if this option was disabled or not available in this version, but nothing definitive so far.
EDIT:
I do have direct access to code, so if there's a config file I could edit it directly, but haven't found anything that indicates where this might be.
It looks like the account that you are logging in with isn't the main admin account. It's probably a developer account to which the admin has added the ability to make backups and tweak Google Analytics settings. You'll need to contact the admin and ask them to give you full privileges, in order to install packages yourself.
If you have FTP access to the website, there is a way to move an account from one group to another:
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUser.xml
Find the user account for the user you want to change group membership for, and make a note of the Id GUID value.
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUserGroup.xml
Find the group you want that account to have membership of (ie: Administrator or Admin), and make a note of the Id GUID value.
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUserUserGroupRelation.xml
Make a backup copy of this file, just in case it doesn't work!
In the origional, find UserId GUID matching your account Id, then ammend the UserGroupId to the group Id. Save the file.
I've tried this out on my local copy of C1 and it appears to work. You should now have access to everything the admin has access to.
i downloaded the old version of C1 4.3 from github and started a new site, and looks like something is wrong with your site, because this version have package manager.
Something error on Log's Folder? (no Console Log item found in your capture)
I tested on this version (see the image uploaded), so, wich especific version have you?
The two files I needed to change were IUserActivePerspective, and IUserGroupActivePerspective. The perspectives for what I was missing were removed from the admin account, so I just needed to add them back there.

Why can't my Google App Engine Instance ID include the word "admin"?

I was trying to create a new app instance that would be used for the admin site of a site I'm building. When I entered "myappadmin" in the Application Identifier field on the Create an Application page and clicked Check Availability, I received a "Sorry, 'myappadmin' is invalid." message. Is that a bug or a limitation? Or am I just doing something wrong?
admin is not a restricted word for AppEngine Application Identifiers. I've just tried admin-a and it worked. Just try to use a name with -.
According to this old Google Group thread, App Engine IDs share a namespace with Gmail accounts. That would explain why so many IDs cannot be used.
appids must be globally unique within google including existing appids but also email addresses. If it's not available then there is an account/appid that matches what you are trying.

how do I set up passkit entitlements in Xcode

I have created a pass id in the provisioning profile, generated the certificate and private key, and our server code can generate passes. However I cannot figure out how to make the project entitlements work with passkit. How do you associate a pass id with your app id or bundle id or something? XCode shows the option "Use pass type identifiers from the provisioning profile". Yet it doesn't appear to be anything in the portal to connect a profile with a pass id.
I can run things in debug on my local device, but how without the entitlements I can't distribute this to anyone.
Clearly I am missing some magic and all the docs talk about is building passes and using them, but nothing about building entitlements. Any ideas?
Apparently the answer is, nothing. The Xcode user interface is confusing but apparently you don't have to do anything to support any pass id that your organization created. Passes are unique to your developer account, not any specific of your apps.
For once I wish Apple would actually document new features in the XCode UI.

How can I serve a file only if the user has purchased my product, on Google App Engine

My data files include a demo version of my program as long as a complete, unlocked one. Google App Engine is used to serve webpages to the user. A database records whether the users have purchased a product, and based on that, I’d like to serve them file A-demo.exe or A-completeVersion.exe
I thought about calling self.redirect( A-completeVersion.exe ) according to the purchase flag, but that would let the user see the URL of the complete version in his browser.
Is there something I could do to proceed with this download without the URI appearing in clear?
PS: by the way, I’m using the Python 2.7 version.
If you're requiring the users to log in, serve the "full" version from the blobstore. That would allow you to easily check that they've got a valid license before downloading the file.
If you're not requiring login, you could generate single use URLs that you serve the application from. Once they have completed the purchase, generate a uuid and write an entity to the datastore with that uuid as the key. When they try to download, check and see if that key is valid. If it is, update the entity to reflect that it was used and then send the blob.

Interfacing SugarCRM with OpenERP

I am currently working on a project whereby I have to make both openERP and SugarCRM talk to each other.
For example, if I add a new Account in SugarCRM, this account is also created in OpenERP...and if I create a new Customer in OpenERP, a new customer with same values is created in SugarCRM.
I've searched the net and I found a connector which allows this interfacing.
http://www.sugarforge.org/projects/sugar2openerp
This connector is not an easy thing to work with...I had to build a module inside SugarCRM for me to input connection details (url, username, password, etc ).
Now, I dont know how to proceed with the connector...the files contained in it mentioned "accounts_cstm"... should I create it or no?
Have you looked at the import_sugarcrm module (http://apps.openerp.com/addon/6970)?
I've never used it, but it is an certified OpenERP module, which means that it is officially supported by OpenERP SA, so you should be able to get support and post feature requests if necessary.
all table names ended with "_cstm" are the upgrade safe portion of the data you create in SugarCRM (_cstm for "custom"). For example if you add a new field to accounts, the original structure doesn't change. SugarCRM creates your new field in this table, and relates to the original accounts table thru id_c field.
I didn't test the module you are mentioning here, but if well constructed there wouldn't be need of creating such table.

Resources