The Services module provides a standardized solution for integrating external applications with Drupal.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to give user access permissions to Services module POST

I created custom module for endpoint using the Services module tutorial. The POST request works for admin but not for a user. I can't seem to find information about how to give a user access to login ...
0
votes
0answers
7 views

login access via Android App using services module

I am currently using services module and I have an android app.Services ModuleIf there a way for me to keep the user logged in until they log out manually?
-4
votes
0answers
24 views

Remote method call [on hold]

I want to call method from client which is mobile app. I think it could be possible but i cant find it out. Is it possible to call some method of my implementation? It should upgrade value from data ...
0
votes
0answers
10 views

Professional Support Cost of Drupal [on hold]

Can you please tell me the Professional Support cost of Drupal. I am currently doing research on different cms's solutions.
0
votes
0answers
10 views

Parameters and key value pairs for VotingAPI

My services definitions list notes that to 'select votes' using VotingAPI I have to POST the parameters 'type' (mandatory), and to 'set votes' I have to post a 'votes' array (mandatory) and 'criteria' ...
0
votes
0answers
5 views

Webform Service module : how to upload files

I need to create new submissions to a webform using a webservice. It works well using the Webform Service module, but it seems limited to simple components only (i.e. text...). Is it possible to ...
0
votes
1answer
18 views

How to delete file using drupal_form_submit?

I'm using rest services with a custom resource on node update, i want to build the correct variable node structure to delete one of the files on a file image multiple fields. I removed the file ...
1
vote
1answer
18 views

Comments are Posted anonymously

I am using Services Module in Drupal 7. When I try to POST comments, these comments are Posted anonymously. I am sending POST request to ?q=endpoint/comment.json with this Body { ...
0
votes
1answer
30 views

Can't save location when posting node through services module

I am using services module to post nodes using rest/json. The nodes also contain images and location. So far I can upload the image and save the node, but the location is not saved. I receive no ...
0
votes
0answers
9 views

Service status website

What I have: An intranet website with links to other private network website pages. What I want Links to appear green when the private website is up and links to appear red when the link is in ...
0
votes
1answer
26 views

Invalid datetime format for a field never submitted?

I'm working my the edit page for my mobile app which is fetching data from a Drupal site. I'm fetching data, I'm editing it, and submitting it. However, when submitting back, I'm getting Internal ...
0
votes
0answers
17 views

Services, android application and Leaflet map

I have a tricky question. I have a content type with a map where the user can provide a location by putting a marker on a leaflet map. I am building an android app through witch the user will also be ...
1
vote
0answers
12 views

Is there anyway to vote on the core Drupal Module using Services 3.x? [closed]

I need to vote on Drupal's core poll using Web Services 3.x, there is an alternate option called Advanced Poll but apart from that is there any way that I can achieve this using the simple core Drupal ...
0
votes
0answers
10 views

make http request with drupal entityforms

Im complete new with making http request. I have for my users on my Drupal site the possibilty to calculate their own cost. This is done in a entityform. The outcome from the calculation is coming ...
0
votes
0answers
14 views

405 Method Not Allowed

I am using services module with Universally Unique IDentifier to exposed some services. Everything was working fine. But from 3-4 days back i am facing a issue. Whenever i am using PUT method to ...
0
votes
0answers
21 views

Custom services returns null

I have extended services module and created a custom web service to get and post data. The problem is on the first rest call I get proper response but on the next response I receive "null" where as in ...
3
votes
0answers
33 views

How to edit output of a field in Views

I am creating REST API using Services Module in Drupal 7. I have created a View to Get lists of Groups. In this view I have added a Field privacy which will tell if the group is Private or Public. ...
0
votes
1answer
13 views

what is the use of universal unique identifier ,why its so much important in deployment?

What is the use of universal unique identifier in drupal7, why its play important role in deploy and service
1
vote
2answers
29 views

is it possible to edit default output of services module?

Is it possible to edit/customize the default output we get using Services Module ? For example I want to edit output which I get from this URL : http://example.com/api/node/39 And I want to edit ...
0
votes
0answers
16 views

How can I collect webform data from 500 Drupal sites as entities in a centrally managed Drupal site?

The scenario is as follows: I have 500 products, each has its own webpage and domain on an Aegir (BOA) server. I want to collect data that customers submit. To start with a simple example: the ...
2
votes
2answers
30 views

is_flagged with Views

Is it possible to to check is_flagged in views ? If I send POST request to this URL it works fine http://website/rest/flag/is_flagged but I want do it in Views ? I am creating REST API using ...
0
votes
0answers
13 views

Services node retrieve -> Access restriction

I am currently working on a project where i am exposing some nodes from a specific content type via services. For the scope of the project I only allow retrieving of nodes from that specific content ...
0
votes
0answers
13 views

How to include an image in the user registration using the module Services

As the scheme would be to post a picture in the picture user or field in another field custom image. I tested with the following scheme and get nothing. The other fields in the record, user, password, ...
2
votes
1answer
24 views

Config for using PUT with Services Module

I'm integrating DrupalGap with Drupal 7 and Services module. Issue I'm running into is that all PUT requests are returned as 405 Method Not Allowed. For example: GET ...
0
votes
0answers
21 views

How to extend user.data service?

What I want to achieve is: each time a user is being loaded from the database, he has added additional parameter loaded from some external source. So far I wrote a custom module, with my own service ...
0
votes
1answer
39 views

how to use “hook_services_request_postprocess_alter” to wrap field with CDATA in drupal 7?

May i know how to use "hook_services_request_postprocess_alter" .I have field called 'body' in $result ,I want to wrap it with CDATA.Any idea how to do it? &$result[0]->body is my variable. ...
0
votes
0answers
12 views

How to use og_is_member() to create REST API?

I have created a View for Services. Everything is working but I am not sure How to check if user is a member or not? Do I need to use og_is_member() or there is any other way to check ?
1
vote
0answers
21 views

POST an emoji in comment body using Service 3.x

I'm trying to POST a comment with an emoji in my Drupal 7.43 project, where I'm using Service 3.x for all Web Service calls. Using POSTMAN (Chrome) in the body of my comment I've added: { ...
0
votes
1answer
12 views

JSON through Services View- Authenticating through Parameters when accessing JSON through external app

My Drupal site is generating JSON through Views. I am using Services for that. It is something like this:- http://www.asite.com/api/views/all-date.json Now the problem is that I want to restrict ...
0
votes
1answer
33 views

Making all REST Server calls to Drupal site as an authenticated user through Services

I am making REST Service calls to my Drupal 7 site to either retrieve or create content. Is there a way I can make all these calls through one specific authenticated user? Thanks.
0
votes
0answers
11 views

Unable to Create Webform Submission through WebForm Service

I am trying to create a submission through Webform Service by passing POST call. Here is what my POST call looks like:- The problem is that it keeps on creating an empty submission as shown ...
0
votes
1answer
14 views

Add a new role using the Drupal Services Rest api

I'm trying to create a new role using the drupal services module. I am able to update a user with an already created role but can't find a way to add a new role. I'd rather not build a custom service ...
0
votes
0answers
21 views

How to convert multiple node in Json format to use in Apps?

I have created a custom module which takes post argument and sent the result in json format. function cfood_api_get_stadium_list($cn, $city){ $query = new EntityFieldQuery(); $entities = ...
0
votes
1answer
36 views

Services Module Authentication with Username and Password in URL

I have to match the following format when implementing Services to maintain some legacy APIs that were poorly written. I understand this is horrible practice and we're going to provide a new better ...
0
votes
0answers
21 views

Configuration Management services.yml

I'm trying to change the configuration storage from database to files during a clean install of a Drupal 8 site. I've read the documentation and several tutorials, books outlining what is needed. I ...
0
votes
0answers
57 views

Wrap 'full html' output with CDATA in Service view in drupal 7?

I'm using Services and Services Views modules. I have created service display view which includes body field(full html type). In the output url view source body is rendering with <p> ...
0
votes
0answers
23 views

views_embed_view is overriding the output in hook_services_views_execute_view_alter

I'm working with Drupal 7.x with services 3.x and views 3.x module, below is the code which I've in my custom module. When I'm executing the same, views_embed_view() overrides the output of the whole ...
0
votes
1answer
34 views

Views Service Error: 'Document is empty' and no 'view preview output' (service module with drupal 7.41 )?

I'm using Services and Services Views modules. Steps I followed to create service are: Enabled ...
1
vote
0answers
44 views

404 Not found : Could not find the controller. Services module

I have installed services module and enabled Resource-> node. Now i am using postman to test default services. My configuration details: endpoint is "apis". Server is "REST". localhost url ...
0
votes
1answer
28 views

Flood control IP bypass whitelist

I am utilising Services to open up some login resources on my site and as a result if multiple users incorrectly try to sign in the entire external website will be blocked because of flood control. ...
0
votes
1answer
21 views

Use a CURL to work with sites without api?

I have this problem. I need to programmatically submit forms on multiple sites and receive data The sites do not use API This task perfectly solves the CURL. Is there a solution to this issue Drupal ...
0
votes
1answer
31 views

Populate Dropdown list from a web service without code

I know that in Drupal a drop down list field can be populated with taxonomy terms, but is there a way without having to go custom (custom PHP development) to populate a dropdown list from the results ...
2
votes
1answer
30 views

How to display like and dislike count in Drupal Web Services

I'm working with Drupal 7.x, for web services I'm using service & services_views whereas for voting I'm using rate with votingapi as the dependency. I'm unable to get the count of positive votes ...
1
vote
2answers
32 views

read webforms fields in a mobile app and write submissions to the site database

I have a courses site where students take online courses and then take exams and get their certificates. The courses content type has an entity reference to "Lessons" content type which has a further ...
0
votes
1answer
70 views

How do I build Breadcrumbs for a certain node?

In a node preprocess hook I am getting breadcrumbs for the currently viewed node by doing the following: $vars['breadcrumb'] = Drupal::service('breadcrumb') ...
0
votes
0answers
28 views

DrupalGap Frontpage not displaying

I am following the drupalgap hello world creation tutorial, however all i tried to make the hello world proven to be unsucessful. here is the frontpage config fron settings.js i did the ...
3
votes
1answer
31 views

Using Services, why is the resource name appended to the endpoint? [closed]

If I want an operation of GET api/v1.0/users and api/v1.0/pages: Using the Services module to create a REST API, if I define a service with an endpoint of api/v1.0/users and enable the user resource ...
0
votes
0answers
11 views

Unable to register user with custom fields using services module

I have created a phone number field from people->account settings for user registration and enabled for registration page. input for register.json Input: {"name":"s2", "pass":"pass", ...
0
votes
2answers
106 views

CSRF validation failed issue on custom services!

I have created a custom services API to save order records in database. I have checked on POSTMAN and it is working fine. But when i request from apps it gives me "CSRF validation failed" issue. Am ...
1
vote
1answer
29 views

Custom version of DateFormatter service

I want to create a slightly different version of the formatInterval function. Normally I do this: echo \Drupal::service('date.formatter')->formatInterval($seconds); I want the final string to ...