Dynamic groups with custom script - intune

I am looking for a way to create a dynamic device group. I need to check a user group for devices tied to user with the name starting with desktop and then add the object ID to a dynamic device group. I am guessing there might be a way to do this using graph but have not figured it out. Any help would be appreciated.

Related

Allow users to create text template with custom variables

I'm building a CRM multitenacy application in laravel 9, where, when the tenant create a new customer I'm sending a welcome email to the customer.
Now i want to allow the user to create a custom message template using also variables.
For example, if the tenant has the following tag variables available :
[guest_name]
[check_in_date]
[check_out_date]
The tenant should be able to create a message template like:
Dear [guest_name], thank you very much for booking a room with us.
Your check in is expected on [check_in_date], while check out is expected on [check_out_date].
I'm getting crazy to understand how to do it, as it seems i cannot find anything similar online but I've seen it in many CRM before.
Is there anybody who can help me to understand how to do so or at least point me in the right direction to find informations on this type of feature?
Thank you very much.

Joomla 3.x - how do I have students (we register them) access one area, and public (self registration) another area?

Apologies for what is I suspect an easy question for many - I am very new to Joomla. I am building a website for my wife on Joomla 3.x (Noteworthymusictuition.co.uk). I already have an area for her music students, in which they log in and can access teaching material not available to the public. We register them.
I want to create an area of 'free downloads' for members of the public to self-register and automatically go to an area for them to download material. They need to be able to log in again after registration. To build up a newsletter group, I want to capture the registrations and store them for subsequent emails.
I do struggle to understand the ACL in Joomla, but if I try and set up a registration form for the public to use, I have to enable self registration in the admin and that affects the existing student login.
I hope that's enough detail! I was wondering whether I need an extension to enable multiple levels, such as Access Manager Pro? But on the other hand, what I'm asking for doesn't really sound like rocket science!
Many thanks!
By the way, I have never done any programming in Joomla - apart from occasional HTML editing.
Anthony
If you choose the 'self' registration option that doesn't stop you creating users as you do now. As long as you set the user up correctly they should be able to log in without issue.
New users would have the option to create an account and would be activated via a confirmation email.
You need to create at least one new user group though. For example, a 'download' group which has access to the additional material. Then, if you use a decent component (http://www.joomlatools.com/extensions/docman/ - see access control new tab) you will be able to control access to documents and downloads by specifying which groups are able to see download links etc.
Hope that helps a bit!

How to set field values in a 'create form' by using dialog?

Is there any way to update an activity entity's create form's fields by using a dialog without saving the entity first?
Let me explain.
The customer calls us and our represent opens a phone call activity. At this point it's on a 'create new' state.
Now, since we have freaking many contact informations and other things related to it in the system I have created a dialog to help user to find out the caller's informations. The dialog first asks the name who is calling. Then it asks about which building / apartment he is calling (it's part of our business model). Then it keeps asking things for a while.
Finally, the dialog has gathered all necessary information and is about the put the values into the form.
But here's the thing. I'm using an Update process within the dialog, but of course I can't update something that doesn't exists. So at the moment it works like we always have to save and give a title for the entity first. Then run the dialog.
It's a minor fault but it may be a problem if, for some reason, in the middle of a dialog, the process is cancelled. Then we would have an empty phone call there with some title. Besides one extra click is always one extra click.
I hope you understood my question.
Please feel free to asks.
Bye!
Like Greg, it seems to me that you are trying to capture information about the contact and the phone call at the same time, so starting by opening a new record may not be the most structured way to go about this. A couple of possibilities:
use a dialog but don't run it against a Contact necessarily. Maybe run it against a user. Use the first few pages to establish if this is an existing Contact and if not, create one from data captured, then create the phone call record against the selected or created Contact. You can run a dialog like this from a link on a dashboard for example, you don't need to navigate to users screen to do it.
Gareth Tucker has written several articles on his blog at http://gtcrm.wordpress.com about contact centre automation, including some interesting ideas (with free downloadable examples) about using JScript on the phone call form to capture contact details and create a linked Contact record on the fly
It sounds to me like the business process could be improved. Ideally your solution would be to change your dialog process so that it runs against the customer (contact?) entity, i.e. when your customer calls up, users find that record and run your dialog instead of creating a phone call activity then running the dialog.
That said, if I understand your question correctly, you are using the dialog perhaps to assist the user in finding the customer's details. Is this true? I don't understand how this would work so you may need to provide us with some extra information here.
If the underlying issue is that the user can't find the customer, it sounds like you need to provide more search fields for the user in the customer view...

Make it possible for guests to add entries via "template-generated" form in expression engine?

I'm trying to figure out how if it is possible to provide guests (regular visitors) to my site with a form via the regular templates and let this form submission create an entry to a specified channel.
In essence, I would like to make a channel entry using a simple http-request and render a "frontend" response-page i suppose.
Does anyone know about any neat solutions for this?
EE doesn't support this out of the box - all users must be logged in order to allow them to modify channels/weblogs
There's a few plugins - http://www.putyourlightson.net/projects/logmein is one of them that allow "fake" users being logged in
Mix that up with SAEF and you might achieve what you want

How do I add custom properties to an AD group in Windows?

I'd like to know how to script this. Also, is there an out of the box GUI tool that will let me do this?
Are you referring to the CustomField attributes that exchange adds when you extend the AD Schema? If so, then you could use ADSIEdit.
If you want to make your own fields then I think your options would be extend the schema or possibly use ADAM.
I haven't used ADAM for Groups, but I think its still possible.
There are some basic scripts on accessing groups at Microsoft's Script Center.

Resources