Hiding Recipients in a qbo3 Message/Search panel - behavior

When using qbo3's Message/Search panel in a landing page to announce system changes to all users, every user that has acknowledged the message is appearing underneath the message, like this:
How can I disable the rendering of recipients, as this list will get very long?

When rendering a Message/Search panel, you may specify which behaviors you want displayed. In this case, the key is to omit the Recipient behaviors, such as:
Message/Search?Behaviors=Selectable ParentLabel Labels TabLauncher MessageAttachments Unread
For a report landing page, this API call is typically defined in the Search Panel field:
A quick recap of the behaviors listed here:
Behavior
Description
Selectable
Enable multi-selection of rows by clicking on a row, and then shift-clicking on a later row to select all rows between the two selected.
ParentLabel
If a Message is bound to a parent object, execute an API call to get the friendly label of the parent object.
Lables
Enable display of any labels each Message is tagged with.
TabLauncher
Enable popping out of the Message/Summary into a panel to the right of the Message/Search panel.
MessgeAttachments
Display a link to any attachments associated with each messages.
Unread
Marks any unread message with a css style (defaults to messageunread).

Related

Rails: disable input tag upon selection from a dropdown menu

Scenario/Context
I've got a drop down menu with two input elements underneath.
From the dropdown menu, are names of companies (with values set to the respective company id's), and another prompt to Add a new company.
If the option to Add a new company is selected from the dropdown, then the user is to fill out the 2 input field elements (i.e. company name and company email).
Otherwise, if an available company is selected from the dropdown,
then the 2 input fields (for company name and email are to be disabled).
My question
Is this possible to do without an AJAX call if I want things to happen without a page refresh?
Can anyone suggest some other alternatives??
Many thanks!
That is absolutely possible, though you'd need to use some JavaScript to make it happen and load a bit more data to the DOM on the initial page load.
For each option in your company select dropdown, add a data attribute for the name and email.
Then, watch that dropdown for the change event in JavaScript. Whenever that event is fired, if the data-company-name and data-company-email attributes are defined for the selected option, disable the input fields and populate them with those values. If those data attributes are not defined for the option (likely only for your 'Add a new company' option), then clear the values from the input fields and enable them.

Issue with the size of the To field in CRM Email form

We use CRM 2016 SP1 on-premise. We are experiencing an issue with the size of the To field of the built-in email View form whereby the field only displays up to three lines of email addresses and truncates the rest.
I know that I can click the list and scroll it in the Edit form, but this is not an option in the View form.
Is there any way to get the To field to expand/scroll in the View form?
This is product limitation to show maximum 3 rows. But you should see scroll bar to look at all other recipients.
Another option is click on Lens icon & inline Lookup window will open, if you scroll all the way down - you can see Look up More Records, click it. This will open Lookup popup where 5 lines of recipients will show, where you can add/remove in bulk.
Update:
It seems your issue is with Closed activities, this form may be limited for customizations. Try Print (Ctrl+P) to see whether all the recipients are showing.

VSTO: How do I cast a mailitem as a form?

If I have an Outlook.MailItem how can I get the Location, Width and Height of this?
Also I need to "disable" the entire Outlook.MailItem form - how do I do this?
I want to show a centered "modal" dialog (just a Windows.Forms.Form) over this MailItem without it actually being modal.
Thanks
Update (more explaining)...
When a user clicks "Send" on a mail, I want to check it for large files before sending and if the file size are too big, then I want to show a "Files are too big, do you want to zip them" dialog. The dialog must be centered to the mail form and disable the mail form (like a dialog would) without freezing outlook.
There is no need to disable the default form in Outlook.
For example, the Open event of the MailItem class which is fired when an instance of the parent object is being opened in an Inspector. The Cancel parameter passed to the event handler allows to abort the default action. If the event procedure sets this argument to True, the open operation is not completed and the inspector is not displayed.
When this event occurs, the Inspector object is initialized but not yet displayed. The Open event differs from the Read event in that Read occurs whenever the user selects the item in a view that supports in-cell editing as well as when the item is being opened in an inspector.
Also you may consider using Outlook form region. The Replacement-all layout allows to override the whole inspector window. See Creating Outlook Form Regions for more information.
Why do you need to do anything with the form? Process the Application.ItemSend event, display the prompt if necessary, and cancel the submission process if you need to.

How to add RSVP button options in MailChimp template

I've created a party invitation template in MailChimp with an RSVP section within the body of the email that contains 3 buttons:
yes
maybe
no
I have also added a custom text field on the list called "RSVP".
Is there a way I can automate the user click event to automatically update the profile and target this field?
I realize I can add the |UPDATE_PROFILE| merge tag and send the user to a custom form where they choose their RSVP option, but ideally i want to bypass the form and handle the response using the buttons in the email body ONLY.
Is this possible?
Yes, this is possible, mostly. You can do most of what you want with survey tags. The result won't be put in your custom text field in your list called "RSVP", but you will still be able to make segments of your list based on who clicked a particular response, as described below.
Anywhere in your email, in a text portion, include the following:
*|SURVEY: 1. yes|*
*|SURVEY: 2. maybe|*
*|SURVEY: 3. no|*
When the recipient gets the email, they will see three links:
1. yes
2. maybe
3. no
These links will take them to a survey landing page. (You can edit this: in your lists page, click the drop down to the right of the stats button, then choose Signup Forms, and then choose Form Builder, then in the drop down choose Survey Landing Page)
After you send out the email, and some people have clicked some of your yes/maybe/no links, it's time to see the results.
Click on Campaigns at the top of mailchimp, then the View Report button to the right of the email you sent. Scroll down and you will see a box called Poll Information, and in this there is a link to View poll results. There you can see who clicked on which link.
You can also make a list segment based on Poll/Survey Activity, which lets you do things like see who all didn't pick any of your RSVP options, who did, and who clicked which one.

Joomla: editable list screen

I have a joomla site where users can log in. Once logged in, a user can display a list screen -- say, a contact list with a name column and a phone number column. I call it a list screen, but I guess it could be called a list view, grid view, etc.
I'd like to make one of the columns (say, the phone number column) editable in place; meaning, I don't want to force the user to open a contact editing form. Thus, in the phone number column, a text box should be displayed on each line. The textbox contains the existing data for that row. The user can change the phone number in the text box directly in the list screen, and then press some 'save' icon on that row to save only that row (and only if it has changed). It'd be nice if the saving was done with an AJAX request, but it'd be ok to submit a form for now.
Based on the 'list screen' in the book "Learning Joomla Extension Development", I can currently display the correct list of items for the user. Does any one have example/tutorial of how to do the saving of each row individually? It seems like all list screens that I see have a link which must be clicked to open an edit form, as opposed to allowing editing in place.
Thanks
You have to write a component first. Which will basically do the saving part of the individual row. So basically your component URL takes parameter as row_id phone number etc and have a update query updating the database.
Second is you need to write a javascript function which is called on click of every save button. The javascript function reads row details by reading from the DOM. and then fire an ajax request to the above mentioned component. the URL to the above mentioned component should have format=raw.
The result from the component update queries can be returned as true or false. And accordingly read by javascript ajax response. based on which A flag could be shown saying row updated. I can help you with code further if you describe it in more details

Resources