1 / 41

This is Halloween [Skin system]

This is Halloween [Skin system]. Note: You have to blame Laurent Matheo for this :p. Witch Inc. Version 0.4. This, is , Halloween [Skin system]. Summary : Presenting users , Presenting skins per users , How the skin system is working ?

misty
Download Presentation

This is Halloween [Skin system]

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. This isHalloween [Skin system] Note: You have to blame Laurent Matheo for this :p WitchInc Version 0.4

  2. This, is, Halloween [Skin system] • Summary: • Presentingusers, • Presenting skins per users, • How the skin system isworking? • How canwe have several active skins at a same time? • SRDS, triggers and productorderingexamples Note: You have to blame Laurent Matheo for this :p WitchInc

  3. We have four users: • Appadmin • Permission: Administrator, SRM admin, full permissions / rights / roles, • Company: Calbro Services, • Rolehere: Request designer, approver and so on, • Amelie • Permission: request user, • Company: Lucy In The SkyInc, • Thomas • Permission: request user, • Company: Calbro Services, • Paulette • Permission: request user, • Company: Calbro Services, • Whathappenswhen the three « request user » login at the verysame time? Presentingusers WitchInc

  4. Request console [For Amelie] WitchInc

  5. Request console [For Thomas] WitchInc

  6. Request console [For Paulette] WitchInc

  7. There is a default skin deliveredwith ITSM 7,7 b2, youcanfindit in « AR System Skins » How the skin system isworking? WitchInc

  8. We know the tags concern SRM Request Entry because The type is « Tag » and « Type Identifier » is the same as the one wefind in form « SRS:SREC_ServiceRequestEntryConsole » (FormProperties), whichis « BMC_ENDUSER_SKIN »: How the skin system isworking? WitchInc

  9. Let’stake an example of the toolbar, hereis the default skin: And the first skinnedversion using the defaults « Type Identifier »: As youcansee, colors have changed as well as icons. The names are prettystraightforward in the skin (HELP, HOME and so on): For the colorsas youcanseeitis a gradient (from light blue to deepblue), in factyoudefine the « start » and « end » color for a same « object »: Object property (tool bar example) WitchInc

  10. The picturesneed to be « uploaded » first into ARS using « Developer Studio » as « Images », Thenyoucan use their « names » into the skin system: How to addpictures? WitchInc

  11. As youcansee in the skin there are a lot of « references », but where do they come from? Usuallyyou have to mention or the fieldID or the object type: How to get the references? WitchInc

  12. Actually all isstored in Developer Studio, as a « specialreference » for a resource. For example for the « Home » pictureyou have the followingproperty: Which matches the one declared in the skin of course: Misterysolved! How to get the references? WitchInc

  13. Though as youcansee, I didn’t skin the « cart » icon. Why? Becausetherewas no mention of it in the skin… And hereiswhy, in developer Studio, its « skin » propertyisn’t set: So the easywayis to nameit of course « BMC_EU_ACTIONBAR_CARTLOGO » for example and save the view (note, of course youneed to convert the form to overlay, the view to overlay and the button to overlay): Then skin side, weneed to add a new property to the skin with the new image name: So why the cartwasn’tskinned? WitchInc

  14. Thenyouneed to flush the mid-tier cache and emptyyour browser cache and then… The miracle of life! Before: After: The cartpicturechanged to the one I chose! So why the cartwasn’tskinned? WitchInc

  15. The answeris in the skin, youcan affect a skin to groups or roles. There are two skins defined: One is for Halloween theme (« Generic TAG…. »), one the « green » theme (« Amelie Poulain… »). As youcansee, one has as group « grp_halloween » And the other « grp_amelie » But whyamelie, thomas, paulette don’tseethe same skin? WitchInc

  16. Rules for Groups • In order to have several people seeingdifferent skins at the same time and without issues, somerules are to berespected: • BMC recommendsthat: • You create one group per skin (« group », NOT « support group »), • You assign the group to each user (in « user » form, NOT « people » form) that uses the skin, • Some « limitations » to beaware of: • an user shouldbemember of one « skin group » at a time, • The people must not have « Unrestrictedaccess » checked (in the « people » form), WitchInc

  17. grp_halloween: • grp_amelie: Groups example WitchInc

  18. Amelieismember of « grp_amelie »: • Thomas ismember of « grp_halloween »: • Paulette isn’tmember of any of those groups: Assigning a Group to an User WitchInc

  19. Thosethree people (amelie, thomas and paulette) don’t have « unrestrictedaccess » checked in the « people » form: User / People and unrestrictedaccess WitchInc

  20. As a result: • Ameliesees the skin « green » becauseshe’s a member of « grp_amelie », • Thomas sees the skin « halloween » becausehe’s a member of « grp_halloween », • Paulette sees the default blue skin becausesheisn’tmember of those groups, Groups and users end results WitchInc

  21. SomeSRDsexamples WitchInc

  22. Hire a monkey! WitchInc

  23. If you enter in « Whatwouldbe the monkeyname? » question a first name of a people fromyourcompany, automatically the full nameappears in field « Hummmwait a minute… »: • Why? Hire a monkey! WitchInc

  24. It happensbecausewedeclared a trigger in the « Service Request »: • Basicallywhathappensisthis: • Whenyou « Answer Question » (1), • And the question is « Whatwouldbe the monkeyname != NULL » (2) • An Action « Autofill » istriggered: (3) • There is a querydone in form « CTM:People » (4) • With qualification « First Name=Whatwouldbe the monkeyname? » (5) • Then on the result, wemap « Full Name » (fromCTM:People) to the question « Hummmmwait a minute…. » (6) Hire a monkey! [Trigger] WitchInc • Note: • For « Answer Question » trigger, the « Qualification » for « Action Details » ismandatory.

  25. Anysugar? • Some questions onlyappeardepending of the results of previous questions (for example if youonlychoose a « cup of coffee ». Those are standard « conditions » definedwhencreating question in the service request: WitchInc

  26. On this (creepy) Service request, youcancast a spell on your manager sohe has to raiseyou: • As youcansee, the question « Just to be sure, isthatyour manager name? » isalreadyfilled: Black Magic… • Why? WitchInc

  27. This time it’s an « Open Form » trigger. Meaningthatitwillhappenwhen the service requestis « opened »: Black Magic [Open Form Trigger] • Basicallywhathappensisthis: • Whenyou « Open Form » (1), • An Action « Autofill » istriggered: (2) • There is a querydone in form « CTM:People » (3) • With qualification « Remedy Login ID=$USER$ » (the requester USERID) (4) • Then on the result, wemap « ManagersName » (fromCTM:People) to the question « Just to be sure… » (5) • Note: • For « Open Form » trigger, the « Qualification » for « Action Details » is not mandatory. WitchInc

  28. Here « appadmin » was the requester, and « Bob Baxter » beeinghis « Manager », the manager’snameappears in the question: Black Magic [Open Form Trigger] WitchInc

  29. Though if the requesteristoogreedy (Answering « yes!!! », youcanseethat the manager’snameisreplaced by hisown full name: Black Magic [AnswerQuestionTrigger] • If youchooseYes, a question alsoappears (« Don’tbetoogreedy pal! ») thisis a standard « question condition » as seenbefore. • Why? WitchInc

  30. This time it’s an « Answer Question » trigger and wealreadysaw how itwasworking. It happenswhen the requester select « Yess!!!! ») • Basicallywhathappensisthis: • Whenyou « Answer Question », • And question « Do youwant to cast… » is « yes » • An Action « Autofill » istriggered: • There is a querydone in form « CTM:People » • With qualification « Remedy Login ID=$USER$ » (the requester USERID) • Then on the result, wemap « Full Name » (fromCTM:People) to the question « Just to be sure… » • Note: • « yes » is the answerbecauseit’s the question’sstored value Black Magic [AnswerQuestionTrigger] WitchInc • Note: • For « Answer Question » trigger, the « Qualification » for « Action Details » ismandatory.

  31. Here an example of whatyoucan do with « Product ordering » Candy Store [Product Ordering] WitchInc

  32. Here an example of whatyoucan do with « Product ordering » Candy Store [Product Ordering] WitchInc

  33. In order to do that, youneed to use the Advanced Interface Form « Product Ordering AIF » in your SRD: • And as Process « Product OrderingProcess »: Candy Store [SRD] WitchInc

  34. You alsoneed to createproduct in the productcatalogsotheycanbedisplayed in « productordering » and somerules have to befollowed: • Rules • Create a productwithTier 1 as « Hardware » or « Software », Candy Store [Products] WitchInc

  35. Rules • It ishighlyrecommended to create a « Product CompanyAssoc » record with a companywhichisn’t « - Global – », Candy Store [Products] WitchInc

  36. Rules • In this « Product CompanyAssoc » record you must set « Approved Product » and « Managed Product » to « Yes », Candy Store [Products] WitchInc

  37. Once done, youcandefine the picture and text for the product in the « Product Ordering Console » • (Make sure you have the permission). Candy Store [Products / Details] WitchInc

  38. Select an existingproduct and « edit » it: Candy Store [Products / Details] WitchInc

  39. Select an existingproduct and « edit » it (text, picture…): Candy Store [Products / Details] WitchInc

  40. You canalsocreate (sameway) a bundle. A bundle is a « package » of severalproducts: Candy Store [Products / Details] WitchInc

  41. You canalsocreate (sameway) a bundle. You select the productsthatyouwant to beadded to the « bundle »: Candy Store [Products / Details] WitchInc

More Related