Is it possible to change organization name in Apigee? - apigee

I chose an organization name which I want to change now, when I signup my account. I couldn't find a way to change it in the admin portal. Is it possible at all?

There is no easy way to the change Org name. If you haven't used the Org much, recreate it under the new name (e.g., using setup-org.sh) and delete the old one. Otherwise, some tools will be out soon to help you transfer your Org to a new Org.

I dont think it is possible to change an org name once it is created. However you might want to check it with apigee support - http://apigee.com/about/support/request-support

Related

Create a calendar folder to a specific user under a specific domain

I'm trying to create a calendar to be shown in the list of calendars in a specefic user.
For example this calendar folder have the name Sample like presented by that capture:
That done with success under a the service account.
Could you please tell me how can I do it with a specific user ?.
Could you help me. Big thanks.
Take a look to those threads https://developers.google.com/calendar/v3/reference/calendars/insert and https://developers.google.com/calendar/v3/reference/acl/insert.
HTH

Unable to create support case

Initially, I had created a case to report a problem with credentials assignment to Cloudant. But, after a few iterations with support, I am no longer able to view my own case via the link I get in the support e-mail.
I only get a message You do not have the right permissions to view cases.
So, I try to open a new case - but then I get You do not have the right permissions to open cases and a description telling me what to do.
Following the steps (Creating an access group for working with cases), I'm able to follow the first steps (From the menu bar, go to Manage > Access (IAM), select Access groups, and click Create), but at the Access Groups page, there is no Create button or any way to create a new access group.
So, I'm not even able to ask for support any more...
You can always open support cases via email to support#cloudant.com - if you provide your Cloudant account name (the one that ends with -bluemix) it’s easier for support to locate you.
You still have a -bluemix account - look at the URL when opening the Cloudant dashboard. Here’s an instance I just created using my internal IBM creds...
https://5217efab-4dcf-4ea0-a1c7-a0ea017a8ccd-bluemix.cloudant.com

How do Website like craigslist create content depending on the city your computer is located

I am looking to create a website that generates content depending on your city location. The best Example I found was Craigslit.They generate a web domain name like https://yourcity.craigslist.org/ when you either click on the city or it locates where you are. I was just wondering if I could get some help on how to build something like that.
The web pages are created using a template that doesn't change, populated with data that is selected from a database server, using your location to lookup appropriate items.
The subdomain (your city) is usually defined in the DNS record, just like www. There would be an entry for chicago.craigslist.org, for example.
edit
If you're asking how they know where you are, they can take a guess based on your IP address, however this isn't very reliable. Google does this also, when getting you search results that could be localized.
So yeah, it is expected of you to type some stuff into google to (try) find your answer (like detect city from javascript will bring up a lot of results for your problem.)
But yeah you would use a service like https://ipstack.com/ to detect where you live, depending on where you live the accuracy increases. (EU has some rules and regulations that make it a lot less accurate than if you would be living in the US)
Once you have a database with content - For example craigslist has a database of second hand items sold by people from all over. When you connect to craigslist they ask a service where your request came from - then use some filter function based on your location to match the results.
Good luck
Your IP address can be used to make an educated guess as to where you are, but it's not very accurate. When providing you with search results that might be localised, Google also does this.To know more about creating a website like craigslist follow here
https://www.yarddiant.com/blog/classifieds/how-to-build-a-website-like-craigslist.html

Register users with magic link in firebase?

I'm working on a product being targeted to companies with employees. We get a collection of employee emails to which we need to register them for an account on our firebase platform.
Ideally what I'd like to do is use this data to create all the user accounts on firebase then email them all a unique magic key to verify their registration and let them input a password.
Unfortunately I'm a bit stuck on making the magic link custom tailored to the users email. Looking at firebases dynamic link creator it doesn't look like there's a way to create a dynamic magic link where I can input something unique about the user account to later identify them after they click on it to give them the correct onboarding platform.
Any ideas how I could accomplish this?
You can create tailored Firebase Dynamic Links for each of your users. If you creating links server side, check out REST API https://firebase.google.com/docs/dynamic-links/rest .
For example in this long dynamic link https://abc123.app.goo.gl/?link=https://example.com/&apn=com.example.android&ibi=com.example.ios the deep link is https://example.com/. You can use deep link looking like https://example.com/invite_user?user_id=<here unique user id>.
You may need to check out Firebase Authentication https://firebase.google.com/docs/auth/ as well. Better to create separate question for each step you seeking advise.

Drupal 7 Content Deadline

I am using Drupal 7 and a custom CCK content in order to allow users to submit information to our website. I'd like to be able to only allow submissions between a set of user definable dates. Once the dates expire, i'd like for the user to receive a message of some sort stating that the deadline for submissions is now expired when they click the link to open the form.
I currently manually go in and turn off permissions to the content type once the deadline expires, but that is clunky and requires a little too much management (I have 15 forms I need to do this for). I've searched stack overflow and google and have not come up with anything that fit my needs, most likely because I'm not using the right keywords.
Does anyone know an easy way to do this with a module or do I need to try to write my own in order to accomplish this goal? Thanks in advance for any help.
I think you have to write some custom module to achieve this. You would use hook_node_access() to control node creation page access and and put your error message and/or redirection.
https://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_access/7
Another solution is to use Webform module.
https://www.drupal.org/project/webform
Download version 7.x-4.x
Create a form and in the settings there is an option to control total submissions limit, and set time frames for limitations.
Hope this helps.
You can achieve this by:
Create a column in user table in mysql called "expDate", assign the expDate values(mm-dd-yyyy) to each user
In drupal, on the page where users summit message, write php code to grab the expDate from database, and compare it to Current Date, date('mm-dd-yyyy'). Just copy can paste the php codes in each page where you have the form.
You can also pass the expDate from php to js, then do some fancy job instead of simple alert.

Resources