- Posts: 89
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Referenced to Key which is in the Global Settings
- KhemrajC
- Topic Author
- Offline
- Premium Member
Less
More
4 years 5 days ago #196852
by KhemrajC
Referenced to Key which is in the Global Settings was created by KhemrajC
Hi,
Is there a way out to have reference to a Key which is in the Global Settings and to use it in-line with the script of a question?
Thanks and regards
Is there a way out to have reference to a Key which is in the Global Settings and to use it in-line with the script of a question?
Thanks and regards
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 5 days ago #196861
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Referenced to Key which is in the Global Settings
I don't understand the question.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- KhemrajC
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 89
- Thank you received: 0
4 years 5 days ago - 4 years 5 days ago #196869
by KhemrajC
Replied by KhemrajC on topic Referenced to Key which is in the Global Settings
Hi,
Say I have this little javascript code:
<script src=" maps.googleapis.com/maps/api/js?libraries=places&key=(Map) ">
The (Map) parameter is already in the Global Settings.
How to reference to it or just avoid any referencing?
LS Version 3.22.9+200317
Thank you very much.
Best regards
Say I have this little javascript code:
<script src=" maps.googleapis.com/maps/api/js?libraries=places&key=(Map) ">
The (Map) parameter is already in the Global Settings.
How to reference to it or just avoid any referencing?
LS Version 3.22.9+200317
Thank you very much.
Best regards
Last edit: 4 years 5 days ago by KhemrajC.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 5 days ago #196870
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Referenced to Key which is in the Global Settings
You wrote several times
If you could access it this way, it would be a real issue in the right management of LimeSurvey.
But if you want to call the google maps api this way, why don't you register to get your own key?
Joffm
Please bear in mind that I do not have access to global settings
If you could access it this way, it would be a real issue in the right management of LimeSurvey.
But if you want to call the google maps api this way, why don't you register to get your own key?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- KhemrajC
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 89
- Thank you received: 0
4 years 5 days ago #196871
by KhemrajC
Replied by KhemrajC on topic Referenced to Key which is in the Global Settings
Hi,
You are right. I do not have access to the global settings.
I want to have this example running:
www.limesurvey.org/community/forums/can-...nswer-via-javascript
The last section with the code provided by Tpartner.
In the code, it refers to a map key.
There is already a key in the Global Settings for which I made a request.
Though, I have a strong preference for open source, openstreetmap is not just enough covered for my country and I have no other alternative to use google map. This example uses autocompletion of address.
I just want to find a way to skip the referencing of the key in Tpartner code in this line and make it use the one already in the global settings:
<script src=" maps.googleapis.com/maps/api/js?librarie...aces&key=yourKey ">
Is it possible to do in a clean way?
Thanks and regards
You are right. I do not have access to the global settings.
I want to have this example running:
www.limesurvey.org/community/forums/can-...nswer-via-javascript
The last section with the code provided by Tpartner.
In the code, it refers to a map key.
There is already a key in the Global Settings for which I made a request.
Though, I have a strong preference for open source, openstreetmap is not just enough covered for my country and I have no other alternative to use google map. This example uses autocompletion of address.
I just want to find a way to skip the referencing of the key in Tpartner code in this line and make it use the one already in the global settings:
<script src=" maps.googleapis.com/maps/api/js?librarie...aces&key=yourKey ">
Is it possible to do in a clean way?
Thanks and regards
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 5 days ago #196872
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Referenced to Key which is in the Global Settings
Again:
Register, and get your own key.
developers.google.com/maps/documentation/javascript/get-api-key
Register, and get your own key.
developers.google.com/maps/documentation/javascript/get-api-key
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 5 days ago #196875
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Referenced to Key which is in the Global Settings
The Google API key entered in global settings is not available in the survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- KhemrajC
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 89
- Thank you received: 0
4 years 5 days ago #196876
by KhemrajC
Replied by KhemrajC on topic Referenced to Key which is in the Global Settings
Hi,
This is exactly what I wanted to know.
Thanks and regards
This is exactly what I wanted to know.
Thanks and regards
The topic has been locked.
- KhemrajC
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 89
- Thank you received: 0
4 years 5 days ago #196877
by KhemrajC
Replied by KhemrajC on topic Referenced to Key which is in the Global Settings
Hi,
Thank you for guiding me properly.
Thanks and regards
Thank you for guiding me properly.
Thanks and regards
The topic has been locked.