How do I set a property based on condition that a user has selected a feature in WIX? - wix

I want to set a property to be used after the FeaturesDlg (the one with the
feature tree) , based on condition that an user selected a feature or
not. Is this possible?
I've declared a new property, but I don't know how to set its value (that feature is enabled/disabled on feature tree).

I was able to interrogate it using
<![CDATA[&FeatureName=3]]>
This would give a true value if it had been selected in the feature tree

You could write a custom action that will evaluate the feature's state and action (i.e. is it currently installed or not, and is the action to install it or not) and then set the property accordingly.
Then schedule the custom action to run in the right sequence.

Related

How can I create internal user using my custom module in odoo15?

I don't want to use 'users' menu item and want to manage users from another menu item named 'Merchant' and only a specific user group data will be there and while creating new record I want to set a specific user_group. Is there any approach for that?
You can simply add the menu directly under your module. Get the menu for res.users and put where ever you want. Don't forget to add dependency to base.
While doing that you can add a domain to the menu item and filter according to your needs.
Also put that domain into the context of the menu with giving a default value same as the domain. That is, you need to put the required settings in the context like {default_FIELD_NAME: VALUE}. You need to use the default_ prefix for it to work. That way when creating a new user from your menu the context will get the default value and set accordingly. However, if it is not a readonly field, user may change the value. There are two ways to avoid that:
i. create your own form using the res.users and design it the way you like it with default values.
ii. inherit the view of res.users and change the related field to be readonly if a certain context value is passed. Then you can call the view with context let's say {readonly_group_x: True} and it should work. Also you may need to make sure that force_save="1" is set since it may not save the readonly field.
These are the basic steps of accomplishing what you have described. However, working with res.groups can be challenging depending on what you want to do. You may need to tweak or even end up creating your own view with the desired effect.

How do I set a custom name for predicate items in a resource pack?

I have made a custom item in a resource pack based off an emerald. The original emerald file has a predicate set to it, which allows me to have my custom item. However, even though I have my custom item texture I cannot set it's in game name. Is there anyway to give this predicate a custom name without changing the base emerald's name?

How to use Field value present in an application and set it into a field present in subform using custom objects. in RSA Archer?

How to use Field value present in an application and set it into a field present in subform using custom objects in RSA Archer? Since cross reference relationship is not possible from application to subform.
You can do it, but you will have to use two custom objects.
I've done this in Archer v5 in the following way:
Step 1. First custom object should be located in the application itself. This CO will capture the value of the field you want to sent to the Sub-Form. Value of the field should be stored in the web-browser as a cookie value. You can do it using JavaScript as long as cookies are allowed.
Step 2. Second custom object should be located in the sub-form. This CO will read the cookie value passed from the application and populate required fields.
This is how I implemented a similar requirement in the past. Good luck!

How to get the value enetered in custom field in custom workflow

I'm new to redmine. I want to get the value from one custom field and set it to other. So how can I get the value of custom field in custom workflow.

When creating a new TFS workitem is it possible to configure a different default Iteration value?

Like many people we utilise the tree structure of each TFS project's Iteration field to organise the work items within that project. Typically we use it to track what iteration we are working in, so most of the time everyone creating a work item needs to put the same Iteration path value in new work items.
By default when you create a new work item (bug for example) this field is set to the root value of the defined tree. Given we have a tree structure in this field its fair to say that for 99% of WIs the default is never correct.
Is there a way to configure a TFS project to default the Iteration field to a specific value when creating a new work item?
Ideally this should be a per user setting, but a TFS project wide would still be better than nothing.
It's not possible to set a default value for Iteration or Area Path (at least not inside the WITD).
Two ideas come into my mind:
Create a custom control for your work items, install it on every PC and let it change the Iteration when the WI gets loaded.
Easier way: Get the power tools and create a template for your work items. There you can preselect the Iteration. Of course every user has to create their own template.
Andrei's answer lead me to some further internet research and I have found a option that fulfills my "this should be a per user setting" side of the equation;
Instal the TFS Power tools extension.
Define a new work item template
(again following my example for a bug WI) and change the iteration
path in the template to match that users current iteration path.
Save
the template.
From that point on you can add a work item using this template (team -> work item templates) and get the Iteration path default from the template.