How to update PR_DISPLAY_NAME for a meeting? - outlook

PR_DISPLAY_NAME is updated which gets reflected in the folder structure. But the same doesn't get updated when a new meeting option is chosen. Old display name is displayed for the 'from'. PidLidInternetAccountName returns the old PR_DISPLAY_NAME.
How to update the PR_DISPLAY_NAME when 'new meeting' is chosen?

PR_RCVD_REPRESENTING_NAME_W (DASL name http://schemas.microsoft.com/mapi/proptag/0x0044001F).

Related

Mendix Retrieve last input value

In mendix i have 2 pages: Course Overview and Course_newEdit.
As the names suggest overview i the overview page and the second one is edit page.
The entity name is Course.
Its attributes are: Name String and Description String.
I have a requirement that i when a user edits course, the default value for name should be the last user input value.
So if the user has give first course name as History.
The second time any user tries to input the name, it should by default show History.
how can this be achieved?
I couldn't find any option for the same in the default settings.
Mendix 9.2 pro
If you are editing an existing course than it will automatically show the value that was last stored in the database so you don't need to do anything there.
If you are creating new course and want the default value of 'Name' attribute to be automatically filled in using the previous course object, than you have to retrieve last saved course object from database with range option = 'First' and add sort property that can identify the retrieve object as last saved course object. Than you can use retrieved last saved course and copy 'Name' to your new course object.
Please check out Mendix Forum and Mendix Slack Community if you have more questions.
Mendix Forum: https://forum.mendix.com
Community Slack: https://join.slack.com/t/mendixcommunity/shared_invite/zt-hwhwkcxu-~59ywyjqHlUHXmrw5heqpQ
first you need to retrieve the list "Course" from database then sort the list by creating date descending then retrieve head of the new sorted list then fill this object in the new created one
course/name

How to undelete a field in MSCRM entities

I am trying to add a field to my entity call abc_salespersonname when I try to add it I am presented with duplicate field name.
The field does not show in the solutions entity field list but I can see it in the database.
I do know that when you delete a field from an entity, it does not actually delete from the database.
So my question is, how can I bring this field in the database back onto the entity.
You cannot Undelete any field in a supported way. Once deleted is deleted, gone forever.
Not sure, if you are mixed up with “Remove” & “Delete” options within solution sub-components. Atleast “Publish All Customizations” will make all the database schema, Metadata & UI in sync. Verify the default solution by going to Settings->Customizations->Customize the system to double check.
If you are seeing duplicate field name alert, then you cannot bypass it. Create a new field with different name & move forward.

Filenet - Copy value from a workitem to document Property

I am new to Filenet BPM and I am trying to set a value from a workitem to document Property. Here is my requirement -
I have a Workflow with a document attached which should go to approval process, If it is approved then I have to set a property name 'status' in document property to 'Approved' and if it is rejected then I have to set it as 'rejected'. At first I thought it should be easy but I do not find any way to achieve this. Please help.
If you already have the document as an attachment, use the default, out of the box CE_Operations queue to update the property. See the screenshot for a small sample.
Dependant on the outcome of the activity, you call the an operation and use the 'setStringProperty' operation. As attributes it takes the attached document, the property to update and the value to set.

set super product attributes 'Attribute Name' to 'use default '

How can i change programmatically for all configurable products 'Attribute Name' use default ? I need to checked options. The place where I want to checked is marked in red
http://i.imgur.com/LFxR8mj.png
I know this is a old post, but as it is still seems to be unsolved I thought I would add this for the next person that comes looking.
The table you need to update is catalog_product_super_attribute_label you will see a value for all products. If you update this table to 'use_default' as 1 this will check the box and use the default attribute label.
I hope this helps somebody.
It seems like what you're trying to do is remove an attribute value for certain products at a certain store scope (in which case it will fall back to 'use default' mode and acquire the next attribute value available , whether that be defined at the website level or global level). You need to remove the value entries from the entity value table (e.g. catalog_product_entity_varchar) where the attribute ID and store ID match the ones you're trying to remove. You could do it with raw SQL fairly easily:
DELETE from your_entity_valuetype WHERE attribute_id=X and store_id=Y;
Plug in your attribute ID (you can grab that from the eav_attribute table) and store ID, and the table for the attribute value.

How can I determine the "deleted on" date of an item in Exchange using EWS?

I've written a C# program using managed Exchange Web Services (EWS) to query a user mailbox in Exchange 2010.
We need to be able to look at the recoverable items for various users and see for each user how many items were deleted within a specific time range. I have been able to query the WellKnownFolderName.RecoverableItemsDeletions folder and fetch the items, but I can not find any property that tells when the items were deleted. (The Outlook GUI shows this date, so I know the property must be stored somewhere.)
There are no standard properties that look like "DateDeleted" or anything close. I have tried to see if the extended MAPI property PR_DELETED_ON is defined for the items, but either it is not or I'm not querying it correctly.
How can I find out when these items were deleted?
-mark
As you stated, supposedly an extended MAPI property named PR_DELETED_ON is set when an item gets deleted permanently from the Deleted Items folder, however, I've never run into this property myself either.
Instead, look at the value for the deleted item's PR_LAST_MODIFICATION_TIME property (0x30080040). This property stores a PT_SYSTIME value reflecting the date and time the item was last modified. This property is updated when an item is deleted, so you should be able to use it as an indicator as to when the item was deleted.
You stated you were using the RecoverableItemsDeletions enumeration value. This points to the Deletions subfolder underneath the inbox's Recoverable Items folder. This is where items go that are deleted from the Deleted Items folder. So, be aware that the value for the PR_LAST_MODIFICATION_TIME property of any item found in that folder will reflect the date and time that the item was deleted from the Deleted Items folder (unless the user soft-deleted it).

Resources