When editing a Rally object through its web UI, I can put a comment in the "Change Description" entry field at the bottom of the form, and that description will appear alongside my changes in the revision history for the object.
How can I do the same thing when changing a Rally object through its web services API?
What additional URL parameter or payload attribute can be used to specify a change description for the changes being made in an API call?
Forgive me if I'm blind, but I can't find this anywhere in the WSAPI documentation.
There is a Revision object in the WS API that has Description attribute.
This Description made up of two parts: the actual Description of a revision generated by Rally, which is read only both in UI and WS API, and the text entered by a user in the "Change Description" box on the Edit page of artifact that is being edited.
It is not possible to create the "Change Description" user input part of the Revision object when an artifact is updated via WS API because in order to allow that WS API would have to allow a creation of Revision object via WS API, since the "Change Description" is a part of Revision object, and not the actual artifact that is being updated via WS API.
When I update a story via API I do not create a new Revision object with my code.
Revision object is created by the system as a result of the story update that I post.
Related
I need to change the destination URL of a link created with odoo link tracker.
I highlighted the URL I need to change in red.
Is there any way (for example using developer mode or directly changing the values in the postgresql database) to change the destination url in odoo?
I already found out that the model I want to change is called website.track
I am tracking PDF download using custom metric. I have written following code
<script>
dataLayer.push({'DLPdfdownload': 1});
</script>
DLPdfdownload is datalayer variable name that I have created in GTM V2.
Script is executing but the problem is that value for PDF download doesn't increment even if I download particular PDF many time. Value in the custom metric remains 1 only it doesn't increment with the download.
What changes do i need to make in script so that value get increment every time I download a PDF
Your question is somewhat incomplete. I'm going to assume from context that you are using Google Analytics with GTM and that you have already created a custom metric in your property settings.
The custom metric will only be incremented if you send it along with a Google Analytics hit. So you need to look up the numeric index for your metric in the property settings. Then you need to set up an Analytics tag that is triggeres when the pdf is downloaded, e.g. by a link click trigger. In that tag you expand the "custom metrics" section, enter the numeric index of your dimension in the index field and your dataLayer variable in the value field.
If that is what you are already doing, or if I have misunderstood your problem, you need to amend your question with more information.
Try to push some 'event' key's value in dataLayer with custom metric data and use custom event with this value as a trigger. Might be that you send data to GA before your custom metric value is pushed to dataLayer.
Noob question, but google is not giving me the goods:
How do you set the page title in a page in Ektron 9? You know: the text that goes into the title tag in the head of the html document.
In an Ektron 8 site I have used, there was a page title meta value that was used.
Does this work out-of-the-box?
If not, are there best practices?
What I have tried
Title of page is the "Content Title" not "Page Title"
New page widget does not have "page title" on alias screen as one pdf suggested
Googling "ektron page title" and variants did not throw up much.
Editing ektron page's folder properties did not show up anything.
Ektron settings "metadata definitions" does not have one for page title
Will keep you posted if I find the answer myself
Ektron does not create the definitions for Title, Description, Keywords or other SEO-related metadata out of the box (when you set up a min site, as is standard).
The site manager / developer defines those. How you set that on the page depends on your implementation and Ektron version.
For example, most 8.0 (and prior) sites will use the CMS:Metadata control in the of the master page (or page, if no master). The control accepts one dynamic parameter, so I used to place three controls, one for content (dynamic param = id), for forms (dynamic param = ekfrm), and for PageBuilder (dynamic param = pageid).
It's more common now (versions 8.5+) to see developers retrieving the metadata from the content (whether html / smart form, html form, or pagebuilder) using the ContentManager API method GetItem. This method accepts two params - the first is the ID of the item you want to retrieve, the second is boolean and, when set to true, will tell the API to retrieve metadata values. Once you have the values, you define the output.
Either method will work in versions 8.5+. The latter gives you more control.
Using Ektron 9 SP2.
We have a single line in the master page:
We use the DefaultContentID of the PageBuilder wireframe that is the front page. The other aspx templates just get the metadata of the HTML content item - all of our non-pagebuilder pages have a content block, then a bunch of smartform data.
In the BigCommerce Admin UI, you can establish the "default" value for an option via the "Make Default" checkbox in the "Configure Multiple Choice" list when editing an option.
Is there any way to get determine which option value is default via the v2 API? I've searched the API documentation and XML results, and it doesn't seem to be anywhere. I'm hoping I'm missing it.
Good news everyone! is_default attribute has been added. You can check the docs here:
https://developer.bigcommerce.com/api/objects/v2/option_value
https://developer.bigcommerce.com/api/stores/v2/options/values
After 6 weeks I got a reply from BigCommerce confirming that there is no way to get this information form the API:
My apologies for the delay in a response on this issue. Unfortunately
at this time the "Default" value is not a property for an option
selection in the API. The default selection is made in the control
panel when editing the option itself and then the option values on
Step 2 of that screen, but as you'll see in our documentation here the
"Default" property is not accessible via API at current.
I am writing a plugin for Jive (SBS) 7 and want to add more data to the template for the user profile Overview page (i.e. /people/admin ). In Jive 6 I did overwrite the profile path in struts and added my own ViewProfile action. But this action seems to be called no more.
I also cannot even figure out where the templates I changed get their data from (soy/people/profile/{userProfile, header, head}.soy) or what action is responsible for.
So how can I add another property to the soy file that gets a custom property for the targetUser? (custom property = property saved in the database table jiveuserprop)
You need to create a plugin and then use the option. Then, you simply use jquery to add the extra stuff.
you can create an action that takes in information using getters or post and throw it into the user's extended properties. You can create another action that'll retrieve that info in json.
then, simply use jquery's getJson to grab the info and use selectors to show the data in the user profile.
Don't forget to use the $j(document).ready(function(){ // your code here }); to show the info
simple example:
<scipt>
$j(document).ready(function(){
$j("div#j-profile-header-details").append("<p>hello World</p>");
});
</script>
will append "hello world" under the user's email address / job title.
hope this helps. feel free to ask more questions if it doesn't make sense. here's a good link on writing the javascript part of the plugin: http://docs.jivesoftware.com/jive/7.0/community_admin/index.jsp?topic=/com.jivesoftware.help.sbs.online/developer/PluginXMLReference.html
I got an answer in the Jive Developer community:
profile is an action in Struts2. /people/username is a URL Mapper permutation
https://community.jivesoftware.com/thread/263660