App maker user picker field takes only one value. We want to add multiple names in the picker field. Do we need to configure in the picker field itself or do we need to write custom JavaScript code to achieve the functionality.
When using the User Picker widget in App Maker, you can only select one user at a time. You will need to use custom JavaScript in order to do multiple selections. You can find a great integration on how to easily select multiple users in the Training Hub template available here https://developers.google.com/appmaker/templates/training-hub/
If you open the above template and if you go to the "AssignCourses" page you will see a possible integration on how you can make multiple user selections. Note that you still need to add user by user to a Grid which will contain all the users that you selected.
Hope this helps!
Related
I am new to Kibana and working on a project where I have to integrate a dynamic dashboard in the website for every user in the system.
Is there any way that I can achieve this on Kibana?
I tried passing the query using the iframe code, but the issue with that is If any user tries using the filter option they can see the data of the other user using the filter.
I tried not passing the filter option, however, this is not a good approach, as I want the user to filter and see only through their data.
These are the links that I referred to but didn't find any optimal solution
Filter data based on some fields in Kibana Dashboard using URL
https://discuss.elastic.co/t/kibana-embedding-dashboard-in-website-with-dynamic-filter-param/241518/2
This link describes exactly what I want to achieve.
I need to know how to pass URL filters dynamically so I can show each customer only their dashboard data based on the customer_id field or other fields.
Also how to remove the topbar add a filter so they can create their own filters
And how to hide/remove the loading kibana picture while it is loading so users don't know we are using kibana as Whitelabel.
Thanks in Advance!
it's possibe to add a field for example "phone field" in the interface for create a new Leads of marketo ?
Unfortunately there is no way to customize this Lead Creation widget.
What I'd suggest is to create a Marketo form and embed it on some internal page you have.
In this form you can include all the fields you want the marketers to fill out when they manually creating new leads - phone number for example.
TIP: Make sure you have some javascript installed on this page which removes the mkto cookie from the marketer's browser - otherwise, all his/her web activity will be associated with the newly created lead.
first time here. I have searched all day for my particular issue with no luck.
I have users that have specific roles auto generated (they purchase a game). I want to display files available to their particular role on their user profile page. I just want to know how I can add a generic view or associate a panel with user profile pages. I want this to display for every user, not on a per user basis. Basically it'll act like, say, direct2drive, you log in and go to your user profile basically and see what games you bought. Seems simple but I am having a heck of a time figuring out how to do this.
I am pretty used to using views but I just don't get how to edit the user profiles like I want to.
Thanks!
The simplest way is to install views_attach, and create a view with a Profile display. This displays the View on the user profile pages, rather than on its own page or in a block, and will pass the user's uid to the View as an argument.
Alternatively, if you're already using comfortable using panels, you can go to admin/build/panels and enable the Users panel. This replaces the user profile page with a panel, which you can add views, nodes and blocks to as normal.
Wondered if anyone can tell me whether the following is possible within views.
I have installed To do module - http://drupal.org/project/to_do
I then created my own view which lists all the tasks created in a particular Organic Group, which works lovely.
One of the fields ive added as the to do button field which gives the user the ability to mark a task as finshed from the view listing.
the problem I have is that all users part of that group can see that buton & has the ability to mark the task as finished.
Is there a way I can use views to only show that button if the current logged in user is the author of that node( to do task).
Views have different templates. In one of them all the fields are being printed. You could in that template make a check if the user is the author and then only print the todo field.
You cam click the theme information link inside the view to get a list of templates that's used and what you could call a custom template for views to use it.
This will only show content the user created. It's a pretty simple argument
I am using the Drupal 6 module Content Profile to allow using a CCK defined type as a user profile which is working well. The issue I have is that I want the first completion of the profile to trigger an action however the user may save the profile without completing it. My thoughts on this is to have a checkbox by the save button which states 'My profile is complete' which the user will select once they are happy with it, and I have another module which creates a trigger by using the node_api hook and checking the type of the node, the action, and the value of this checkbox.
Once this trigger has been raised I don't want that checkbox to appear again however. If I could set the visibility of the checkbox using PHP code that would work as I could write a short script to determine if the completed action has already happenede and if so hide the checkbox. Is there a module that allows this? I haven't been able to find one.
I have also looked at using the same node_api hook to manipulate the profile as it is being displayed however the node just seems to have the values for the fields and not a form object that can be manipulated as I would have expected. IS there a way to programatically manipulate a CCK form?
Thanks
I think hook form alter is what you are after. This can perform alterations to a form before it is rendered.
I would suggest another approach using the Save & Edit module. Set your CCK profile type as "unpublished" by default. Allow users to save it and/or save AND publish it with this module. On publish, use triggers and actions.
This approach is arguably more in keeping with the Drupal way - configuration over customization.