Developer Portal - Creating multiple apps with the same product

Not applicable

Is it possible to disallow user creating multiple apps with the same product?

1 2 204
2 REPLIES 2

@BaskarVangili ,

Absolutely, You can do that. A small customization in Developer Portal using a custom module with approximately 30 lines of code & 30 minutes of your time. You need little bit of Drupal Expertise to do that & understand Drupal hooks concept. I will try to post a solution in this week. Few pointers if you would like to crack it on your own,

  • Create a custom module
  • Hook into Developer App Creation, Refer to hooks in devconnect_developer_apps module .api.php file
  • When users submits app creation form , Use presave hook documented in above file, Implement this hook in custom module
  • Retrieve user all existing apps
  • Compare API Products
  • Allow / Disallow if there is a match

Should be simple, Hope it helps.

Ah, this may be the answer I've been searching for, I want to limit the number of Apps a user can create.

@Anil Sagar @ Google Did you ever implement the solution?